If kvmclock is used, which implies the kernel supports it, register a kvmclock device with the sysbus. Its main purpose is to save and restore the kernel state on migration, but this will also allow to visualize it one day. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> CC: Glauber Costa <glommer@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			305 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			305 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.
 | 
						|
 *
 | 
						|
 */
 | 
						|
 | 
						|
void kvmclock_create(void);
 |