diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-15 20:05:25 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-15 20:05:25 +0000 |
commit | 9ede2fde19eaf65c07c8bed3936e78dc0ed37412 (patch) | |
tree | ab0803974c9804d73e060673c4293fe456fac842 /sysemu.h | |
parent | c76ee25de48ab27a89fc6886256def0900ba7b60 (diff) | |
download | qemu-9ede2fde19eaf65c07c8bed3936e78dc0ed37412.zip |
add virtio-console support (Christian Ehrhardt)
This patch adds the virtio console to qemu. This console can be found after the
serial and parallel outputs as another virtual console. In the -nographic case
it is redirected to the null output by default.
Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6315 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -158,6 +158,12 @@ extern CharDriverState *serial_hds[MAX_SERIAL_PORTS]; extern CharDriverState *parallel_hds[MAX_PARALLEL_PORTS]; +/* virtio consoles */ + +#define MAX_VIRTIO_CONSOLES 1 + +extern CharDriverState *virtcon_hds[MAX_VIRTIO_CONSOLES]; + #define TFR(expr) do { if ((expr) != -1) break; } while (errno == EINTR) #ifdef NEED_CPU_H |