2020-12-12 18:55:08 +03:00
|
|
|
i386_ss.add(when: 'CONFIG_KVM', if_false: files('kvm-stub.c'))
|
2021-03-22 16:27:40 +03:00
|
|
|
|
2021-10-07 19:16:56 +03:00
|
|
|
i386_softmmu_kvm_ss = ss.source_set()
|
|
|
|
|
|
|
|
i386_softmmu_kvm_ss.add(files(
|
2021-03-22 16:27:40 +03:00
|
|
|
'kvm.c',
|
|
|
|
'kvm-cpu.c',
|
|
|
|
))
|
|
|
|
|
2022-12-03 20:51:13 +03:00
|
|
|
i386_softmmu_kvm_ss.add(when: 'CONFIG_XEN_EMU', if_true: files('xen-emu.c'))
|
|
|
|
|
2021-10-07 19:16:57 +03:00
|
|
|
i386_softmmu_kvm_ss.add(when: 'CONFIG_SEV', if_false: files('sev-stub.c'))
|
|
|
|
|
2020-12-12 18:55:08 +03:00
|
|
|
i386_softmmu_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c'), if_false: files('hyperv-stub.c'))
|
2021-10-07 19:16:56 +03:00
|
|
|
|
|
|
|
i386_softmmu_ss.add_all(when: 'CONFIG_KVM', if_true: i386_softmmu_kvm_ss)
|