diff options
Diffstat (limited to 'hw/virtio-console.h')
-rw-r--r-- | hw/virtio-console.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/hw/virtio-console.h b/hw/virtio-console.h new file mode 100644 index 0000000000..2de9520ae6 --- /dev/null +++ b/hw/virtio-console.h @@ -0,0 +1,22 @@ +/* + * 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 |