xref: /openbmc/qemu/target/i386/kvm/meson.build (revision 3161f9f4)
1i386_kvm_ss = ss.source_set()
2
3i386_kvm_ss.add(files(
4  'kvm.c',
5  'kvm-cpu.c',
6))
7
8i386_kvm_ss.add(when: 'CONFIG_XEN_EMU', if_true: files('xen-emu.c'))
9
10i386_kvm_ss.add(when: 'CONFIG_SEV', if_false: files('sev-stub.c'))
11
12i386_system_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c'), if_false: files('hyperv-stub.c'))
13
14i386_system_ss.add_all(when: 'CONFIG_KVM', if_true: i386_kvm_ss)
15