| 1 | system_ss.add(files( |
| 2 | 'vl.c', |
| 3 | ), sdl, libpmem, libdaxctl) |
| 4 | |
| 5 | system_ss.add(files( |
| 6 | 'arch_init.c', |
| 7 | 'balloon.c', |
| 8 | 'bootdevice.c', |
| 9 | 'cpus.c', |
| 10 | 'cpu-timers.c', |
| 11 | 'dirtylimit.c', |
| 12 | 'dma-helpers.c', |
| 13 | 'exit-with-parent.c', |
| 14 | 'globals.c', |
| 15 | 'ioport.c', |
| 16 | 'ram-block-attributes.c', |
| 17 | 'ram-discard-manager.c', |
| 18 | 'memory_mapping.c', |
| 19 | 'memory.c', |
| 20 | 'physmem.c', |
| 21 | 'physmem-qmp-cmds.c', |
| 22 | 'qdev-monitor.c', |
| 23 | 'qtest.c', |
| 24 | 'rtc.c', |
| 25 | 'runstate-action.c', |
| 26 | 'runstate.c', |
| 27 | 'watchpoint.c', |
| 28 | )) |
| 29 | |
| 30 | if have_hmp |
| 31 | system_ss.add(files( |
| 32 | 'dirtylimit-hmp-cmds.c', |
| 33 | 'runstate-hmp-cmds.c', |
| 34 | 'tpm-hmp-cmds.c', |
| 35 | )) |
| 36 | endif |
| 37 | |
| 38 | if have_tpm |
| 39 | system_ss.add(files('tpm.c')) |
| 40 | endif |
| 41 | |
| 42 | system_ss.add(when: seccomp, if_true: files('qemu-seccomp.c')) |
| 43 | system_ss.add(when: 'CONFIG_DEVICE_TREE', |
| 44 | if_true: [fdt, files('device_tree.c')], |
| 45 | if_false: files('device_tree-stub.c')) |
| 46 | if host_os == 'linux' |
| 47 | system_ss.add(files('async-teardown.c')) |
| 48 | endif |