aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2026-02-17 15:35:10 +0100
committerAleksandr Nogikh <nogikh@google.com>2026-02-17 14:52:00 +0000
commitf4288eed9c51fed44b853c252711c00de8761336 (patch)
tree08a549c77222f2d04dd2d841a8b95a98603aae2d /executor
parent4db8fa928f6610a9c9f808270ed4f6cbdfbded26 (diff)
executor: fix TestGenerate/linux/amd64/
Follow-up fix for https://github.com/google/syzkaller/pull/6820
Diffstat (limited to 'executor')
-rw-r--r--executor/common_kvm_amd64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_kvm_amd64.h b/executor/common_kvm_amd64.h
index b8e86127e..17f5e15be 100644
--- a/executor/common_kvm_amd64.h
+++ b/executor/common_kvm_amd64.h
@@ -205,7 +205,7 @@ static void setup_64bit_idt(struct kvm_sregs* sregs, char* host_mem, uintptr_t g
}
#endif
-#if SYZ_EXECUTOR || __NR_syz_kvm_setup_syzos_vm || __NR_syz_kvm_add_vcpu
+#if SYZ_EXECUTOR || __NR_syz_kvm_setup_syzos_vm || __NR_syz_kvm_setup_cpu || __NR_syz_kvm_add_vcpu
// SYZOS guest virtual memory layout (must be in sync with executor/kvm.h):
static const struct mem_region syzos_mem_regions[] = {