aboutsummaryrefslogtreecommitdiff
path: root/target/i386/kvm/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'target/i386/kvm/meson.build')
-rw-r--r--target/i386/kvm/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/i386/kvm/meson.build b/target/i386/kvm/meson.build
index b1c76957c7..736df8b72e 100644
--- a/target/i386/kvm/meson.build
+++ b/target/i386/kvm/meson.build
@@ -7,6 +7,8 @@ i386_softmmu_kvm_ss.add(files(
'kvm-cpu.c',
))
+i386_softmmu_kvm_ss.add(when: 'CONFIG_SEV', if_false: files('sev-stub.c'))
+
i386_softmmu_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c'), if_false: files('hyperv-stub.c'))
i386_softmmu_ss.add_all(when: 'CONFIG_KVM', if_true: i386_softmmu_kvm_ss)