00001 /* 00002 * Virtio Console Support 00003 * 00004 * Copyright IBM, Corp. 2008 00005 * 00006 * Authors: 00007 * Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com> 00008 * 00009 * This work is licensed under the terms of the GNU GPL, version 2. See 00010 * the COPYING file in the top-level directory. 00011 * 00012 */ 00013 #ifndef _QEMU_VIRTIO_CONSOLE_H 00014 #define _QEMU_VIRTIO_CONSOLE_H 00015 00016 /* The ID for virtio console */ 00017 #define VIRTIO_ID_CONSOLE 3 00018 00019 /* Creates a virtio console */ 00020 void *virtio_console_init(PCIBus *bus, CharDriverState *chr); 00021 00022 #endif