aboutsummaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysemu.h b/sysemu.h
index 47c1fea7c2..b68c04ccca 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -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