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