root / hw / virtio-console.h @ e612a1f7
History | View | Annotate | Download (485 Bytes)
1 | 970d878c | aliguori | /*
|
---|---|---|---|
2 | 970d878c | aliguori | * Virtio Console Support
|
3 | 970d878c | aliguori | *
|
4 | 970d878c | aliguori | * Copyright IBM, Corp. 2008
|
5 | 970d878c | aliguori | *
|
6 | 970d878c | aliguori | * Authors:
|
7 | 970d878c | aliguori | * Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
|
8 | 970d878c | aliguori | *
|
9 | 970d878c | aliguori | * This work is licensed under the terms of the GNU GPL, version 2. See
|
10 | 970d878c | aliguori | * the COPYING file in the top-level directory.
|
11 | 970d878c | aliguori | *
|
12 | 970d878c | aliguori | */
|
13 | 970d878c | aliguori | #ifndef _QEMU_VIRTIO_CONSOLE_H
|
14 | 970d878c | aliguori | #define _QEMU_VIRTIO_CONSOLE_H
|
15 | 970d878c | aliguori | |
16 | 970d878c | aliguori | /* The ID for virtio console */
|
17 | 970d878c | aliguori | #define VIRTIO_ID_CONSOLE 3 |
18 | 970d878c | aliguori | |
19 | 970d878c | aliguori | /* Creates a virtio console */
|
20 | 970d878c | aliguori | void *virtio_console_init(PCIBus *bus, CharDriverState *chr);
|
21 | 970d878c | aliguori | |
22 | 970d878c | aliguori | #endif |