 d481cec756
			
		
	
	
		d481cec756
		
	
	
	
	
		
			
			Move cpu-throttle.c from system to migration since it's only used for migration; this makes us avoid exporting the util functions and variables in misc.h but export them in migration.h when implementing the periodic ramblock dirty sync feature in the upcoming commits. Since CPU throttle timers are only used in migration, move their registry to migration_object_init. Signed-off-by: Hyman Huang <yong.huang@smartx.com> Reviewed-by: Fabiano Rosas <farosas@suse.de> Link: https://lore.kernel.org/r/c1b3efaa0cb49e03d422e9da97bdb65cc3d234d1.1729146786.git.yong.huang@smartx.com [peterx: Fix build on MacOS on cocoa.m, not move cpu-throttle.h yet] [peterx: Fix subject spelling, per pm215] Signed-off-by: Peter Xu <peterx@redhat.com>
		
			
				
	
	
		
			40 lines
		
	
	
		
			818 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			818 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
| 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-timers.c',
 | |
|   'datadir.c',
 | |
|   'dirtylimit.c',
 | |
|   'dma-helpers.c',
 | |
|   'globals.c',
 | |
|   'memory_mapping.c',
 | |
|   'qdev-monitor.c',
 | |
|   'qtest.c',
 | |
|   'rtc.c',
 | |
|   'runstate-action.c',
 | |
|   'runstate-hmp-cmds.c',
 | |
|   'runstate.c',
 | |
|   'tpm-hmp-cmds.c',
 | |
|   'vl.c',
 | |
| ), sdl, libpmem, libdaxctl)
 | |
| 
 | |
| if have_tpm
 | |
|   system_ss.add(files('tpm.c'))
 | |
| endif
 | |
| 
 | |
| system_ss.add(when: seccomp, if_true: files('qemu-seccomp.c'))
 | |
| system_ss.add(when: 'CONFIG_DEVICE_TREE',
 | |
|               if_true: [fdt, files('device_tree.c')],
 | |
|               if_false: files('device_tree-stub.c'))
 | |
| if host_os == 'linux'
 | |
|   system_ss.add(files('async-teardown.c'))
 | |
| endif
 |