move around definitions in kvm.h that do not require CPUState
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
		
							parent
							
								
									37b76cfd93
								
							
						
					
					
						commit
						00a1555e0c
					
				
							
								
								
									
										8
									
								
								kvm.h
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								kvm.h
									
									
									
									
									
								
							@ -36,6 +36,10 @@ struct kvm_run;
 | 
			
		||||
 | 
			
		||||
int kvm_init(int smp_cpus);
 | 
			
		||||
 | 
			
		||||
int kvm_has_sync_mmu(void);
 | 
			
		||||
int kvm_has_vcpu_events(void);
 | 
			
		||||
int kvm_has_robust_singlestep(void);
 | 
			
		||||
 | 
			
		||||
#ifdef NEED_CPU_H
 | 
			
		||||
int kvm_init_vcpu(CPUState *env);
 | 
			
		||||
 | 
			
		||||
@ -45,10 +49,6 @@ int kvm_cpu_exec(CPUState *env);
 | 
			
		||||
int kvm_log_start(target_phys_addr_t phys_addr, ram_addr_t size);
 | 
			
		||||
int kvm_log_stop(target_phys_addr_t phys_addr, ram_addr_t size);
 | 
			
		||||
 | 
			
		||||
int kvm_has_sync_mmu(void);
 | 
			
		||||
int kvm_has_vcpu_events(void);
 | 
			
		||||
int kvm_has_robust_singlestep(void);
 | 
			
		||||
 | 
			
		||||
void kvm_setup_guest_memory(void *start, size_t size);
 | 
			
		||||
 | 
			
		||||
int kvm_coalesce_mmio_region(target_phys_addr_t start, ram_addr_t size);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user