2023-10-04 11:06:24 +02:00
|
|
|
i386_kvm_ss = ss.source_set()
|
2021-10-07 18:16:56 +02:00
|
|
|
|
2023-10-04 11:06:24 +02:00
|
|
|
i386_kvm_ss.add(files(
|
2021-03-22 14:27:40 +01:00
|
|
|
'kvm.c',
|
|
|
|
'kvm-cpu.c',
|
|
|
|
))
|
|
|
|
|
2023-10-04 11:06:24 +02:00
|
|
|
i386_kvm_ss.add(when: 'CONFIG_XEN_EMU', if_true: files('xen-emu.c'))
|
2022-12-03 18:51:13 +01:00
|
|
|
|
2023-10-04 11:06:24 +02:00
|
|
|
i386_kvm_ss.add(when: 'CONFIG_SEV', if_false: files('sev-stub.c'))
|
2021-10-07 18:16:57 +02:00
|
|
|
|
2023-06-13 15:33:47 +02:00
|
|
|
i386_system_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c'), if_false: files('hyperv-stub.c'))
|
2021-10-07 18:16:56 +02:00
|
|
|
|
2023-10-04 11:06:24 +02:00
|
|
|
i386_system_ss.add_all(when: 'CONFIG_KVM', if_true: i386_kvm_ss)
|