mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 20:44:16 +00:00 
			
		
		
		
	 0d09e41a51
			
		
	
	
		0d09e41a51
		
	
	
	
	
		
			
			Many of these should be cleaned up with proper qdev-/QOM-ification. Right now there are many catch-all headers in include/hw/ARCH depending on cpu.h, and this makes it necessary to compile these files per-target. However, fixing this does not belong in these patches. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
			
				
	
	
		
			25 lines
		
	
	
		
			420 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			420 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * QEMU KVM support, paravirtual clock device
 | |
|  *
 | |
|  * Copyright (C) 2011 Siemens AG
 | |
|  *
 | |
|  * Authors:
 | |
|  *  Jan Kiszka        <jan.kiszka@siemens.com>
 | |
|  *
 | |
|  * This work is licensed under the terms of the GNU GPL version 2.
 | |
|  * See the COPYING file in the top-level directory.
 | |
|  *
 | |
|  */
 | |
| 
 | |
| #ifdef CONFIG_KVM
 | |
| 
 | |
| void kvmclock_create(void);
 | |
| 
 | |
| #else /* CONFIG_KVM */
 | |
| 
 | |
| static inline void kvmclock_create(void)
 | |
| {
 | |
| }
 | |
| 
 | |
| #endif /* !CONFIG_KVM */
 |