diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-15 20:05:50 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-15 20:05:50 +0000 |
commit | 970d878c5432d8be41ac1eb4185ed4665fa6ab88 (patch) | |
tree | 62e74112d53787350e981c46141fefc8ccf07ee7 /hw/virtio-console.h | |
parent | 9ede2fde19eaf65c07c8bed3936e78dc0ed37412 (diff) |
Add missing files from last commit.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6316 c046a42c-6fe2-441c-8c8c-71466251a162
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 |