Until now, Hypervisor.framework has only been available on x86_64 systems. With Apple Silicon shipping now, it extends its reach to aarch64. To prepare for support for multiple architectures, let's start moving common code out into its own accel directory. This patch moves the vCPU thread loop over. Signed-off-by: Alexander Graf <agraf@csgraf.de> Reviewed-by: Sergio Lopez <slp@redhat.com> Message-id: 20210519202253.76782-3-agraf@csgraf.de Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
		
			
				
	
	
		
			8 lines
		
	
	
		
			140 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			140 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
hvf_ss = ss.source_set()
 | 
						|
hvf_ss.add(files(
 | 
						|
  'hvf-all.c',
 | 
						|
  'hvf-accel-ops.c',
 | 
						|
))
 | 
						|
 | 
						|
specific_ss.add_all(when: 'CONFIG_HVF', if_true: hvf_ss)
 |