-specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files(
+specific_ss.add(when: 'CONFIG_SYSTEM_ONLY', if_true: [files(
'arch_init.c',
+ 'ioport.c',
+ 'memory.c',
+ 'physmem.c',
+ 'watchpoint.c',
+)])
+
+system_ss.add(files(
'balloon.c',
+ 'bootdevice.c',
'cpus.c',
'cpu-throttle.c',
+ 'cpu-timers.c',
'datadir.c',
+ 'dirtylimit.c',
+ 'dma-helpers.c',
'globals.c',
- 'physmem.c',
- 'ioport.c',
- 'rtc.c',
- 'runstate.c',
- 'memory.c',
'memory_mapping.c',
+ 'qdev-monitor.c',
'qtest.c',
- 'vl.c',
- 'cpu-timers.c',
+ 'rtc.c',
'runstate-action.c',
-)])
-
-specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: [files(
- 'icount.c'
-)])
-
-softmmu_ss.add(files(
- 'bootdevice.c',
- 'dma-helpers.c',
- 'qdev-monitor.c',
+ 'runstate-hmp-cmds.c',
+ 'runstate.c',
+ 'tpm-hmp-cmds.c',
+ 'vl.c',
), sdl, libpmem, libdaxctl)
if have_tpm
- softmmu_ss.add(files('tpm.c'))
+ system_ss.add(files('tpm.c'))
endif
-softmmu_ss.add(when: seccomp, if_true: files('qemu-seccomp.c'))
-softmmu_ss.add(when: fdt, if_true: files('device_tree.c'))
+system_ss.add(when: seccomp, if_true: files('qemu-seccomp.c'))
+system_ss.add(when: fdt, if_true: files('device_tree.c'))
+system_ss.add(when: 'CONFIG_LINUX', if_true: files('async-teardown.c'))