2020-08-19 19:17:19 +08:00
|
|
|
specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files(
|
2020-08-06 19:40:26 +08:00
|
|
|
'arch_init.c',
|
|
|
|
'balloon.c',
|
|
|
|
'cpus.c',
|
|
|
|
'cpu-throttle.c',
|
2020-10-28 19:36:57 +08:00
|
|
|
'datadir.c',
|
2020-10-28 20:04:08 +08:00
|
|
|
'globals.c',
|
2020-10-06 15:05:29 +08:00
|
|
|
'physmem.c',
|
2020-08-06 19:40:26 +08:00
|
|
|
'ioport.c',
|
2020-10-28 19:36:57 +08:00
|
|
|
'rtc.c',
|
2020-11-13 16:25:19 +08:00
|
|
|
'runstate.c',
|
2020-08-06 19:40:26 +08:00
|
|
|
'memory.c',
|
|
|
|
'memory_mapping.c',
|
|
|
|
'qtest.c',
|
2020-08-19 19:17:19 +08:00
|
|
|
'vl.c',
|
|
|
|
'cpu-timers.c',
|
2020-12-12 00:52:43 +08:00
|
|
|
'runstate-action.c',
|
2020-08-19 19:17:19 +08:00
|
|
|
)])
|
|
|
|
|
|
|
|
specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: [files(
|
|
|
|
'icount.c'
|
|
|
|
)])
|
2020-10-06 15:01:22 +08:00
|
|
|
|
|
|
|
softmmu_ss.add(files(
|
|
|
|
'bootdevice.c',
|
|
|
|
'dma-helpers.c',
|
|
|
|
'qdev-monitor.c',
|
2020-10-06 15:05:29 +08:00
|
|
|
), sdl, libpmem, libdaxctl)
|
2020-10-06 15:01:22 +08:00
|
|
|
|
|
|
|
softmmu_ss.add(when: 'CONFIG_TPM', if_true: files('tpm.c'))
|
2020-11-17 21:22:24 +08:00
|
|
|
softmmu_ss.add(when: seccomp, if_true: files('qemu-seccomp.c'))
|
2020-10-06 15:01:22 +08:00
|
|
|
softmmu_ss.add(when: fdt, if_true: files('device_tree.c'))
|