xref: /qemu/target/i386/kvm/meson.build (revision 98721058d6d50ef218e0c26e4f67c8ef96965859)
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_kvm_ss.add(when: 'CONFIG_TDX', if_true: files('tdx.c'), if_false: files('tdx-stub.c'))
12
13i386_system_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c'), if_false: files('hyperv-stub.c'))
14
15i386_system_ss.add_all(when: 'CONFIG_KVM', if_true: i386_kvm_ss)
16