23 lines
		
	
	
		
			485 B
		
	
	
	
		
			C
		
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			485 B
		
	
	
	
		
			C
		
	
	
	
| /*
 | |
|  * Virtio Console Support
 | |
|  *
 | |
|  * Copyright IBM, Corp. 2008
 | |
|  *
 | |
|  * Authors:
 | |
|  *  Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
 | |
|  *
 | |
|  * This work is licensed under the terms of the GNU GPL, version 2.  See
 | |
|  * the COPYING file in the top-level directory.
 | |
|  *
 | |
|  */
 | |
| #ifndef _QEMU_VIRTIO_CONSOLE_H
 | |
| #define _QEMU_VIRTIO_CONSOLE_H
 | |
| 
 | |
| /* The ID for virtio console */
 | |
| #define VIRTIO_ID_CONSOLE 3
 | |
| 
 | |
| /* Creates a virtio console */
 | |
| void *virtio_console_init(PCIBus *bus, CharDriverState *chr);
 | |
| 
 | |
| #endif
 |