| i386_ss = ss.source_set() |
| i386_ss.add(when: 'CONFIG_TCG', if_true: files( |
| 'translate.c'), if_false: files('tcg-stub.c')) |
| i386_ss.add(when: 'CONFIG_KVM', if_false: files('kvm-stub.c')) |
| i386_ss.add(when: 'CONFIG_SEV', if_true: files('sev.c'), if_false: files('sev-stub.c')) |
| i386_softmmu_ss = ss.source_set() |
| i386_softmmu_ss.add(files( |
| i386_softmmu_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c'), if_false: files('hyperv-stub.c')) |
| i386_softmmu_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c')) |
| i386_softmmu_ss.add(when: 'CONFIG_WHPX', if_true: files('whpx-all.c')) |
| i386_softmmu_ss.add(when: ['CONFIG_POSIX', 'CONFIG_HAX'], if_true: files('hax-all.c', 'hax-mem.c', 'hax-posix.c')) |
| i386_softmmu_ss.add(when: ['CONFIG_WIN32', 'CONFIG_HAX'], if_true: files('hax-all.c', 'hax-mem.c', 'hax-windows.c')) |
| target_arch += {'i386': i386_ss} |
| target_softmmu_arch += {'i386': i386_softmmu_ss} |