aboutsummaryrefslogtreecommitdiff
path: root/target/i386/kvm/meson.build
blob: 40fbde96cac6dd6f994dfad3e1e31f385372c8d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
i386_ss.add(when: 'CONFIG_KVM', if_false: files('kvm-stub.c'))

i386_softmmu_kvm_ss = ss.source_set()

i386_softmmu_kvm_ss.add(files(
  'kvm.c',
  'kvm-cpu.c',
))

i386_softmmu_kvm_ss.add(when: 'CONFIG_XEN_EMU', if_true: files('xen-emu.c'))

i386_softmmu_kvm_ss.add(when: 'CONFIG_SEV', if_false: files('sev-stub.c'))

i386_system_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c'), if_false: files('hyperv-stub.c'))

i386_system_ss.add_all(when: 'CONFIG_KVM', if_true: i386_softmmu_kvm_ss)