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