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