diff options
Diffstat (limited to 'executor/common_kvm_amd64.h')
| -rw-r--r-- | executor/common_kvm_amd64.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/executor/common_kvm_amd64.h b/executor/common_kvm_amd64.h index 3e5200137..e0c4a68a2 100644 --- a/executor/common_kvm_amd64.h +++ b/executor/common_kvm_amd64.h @@ -462,7 +462,9 @@ static void setup_gdt_ldt_pg(struct kvm_syz_vm* vm, int cpufd) ioctl(cpufd, KVM_SET_SREGS, &sregs); } +#endif +#if SYZ_EXECUTOR || __NR_syz_kvm_add_vcpu static void setup_cpuid(int cpufd) { int kvmfd = open("/dev/kvm", O_RDWR); |
