Fix cpuid KVM crash on i386 (Lubomir Rintel)
[sniper_test.git] / hw / virtio-console.h
blob2de9520ae6396854a46501a7b773f5c7c4d488a7
1 /*
2 * Virtio Console Support
4 * Copyright IBM, Corp. 2008
6 * Authors:
7 * Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
13 #ifndef _QEMU_VIRTIO_CONSOLE_H
14 #define _QEMU_VIRTIO_CONSOLE_H
16 /* The ID for virtio console */
17 #define VIRTIO_ID_CONSOLE 3
19 /* Creates a virtio console */
20 void *virtio_console_init(PCIBus *bus, CharDriverState *chr);
22 #endif