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