summaryrefslogtreecommitdiffstats
path: root/hw/virtio-serial.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-03-24 08:11:58 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-03-24 08:11:58 -0500
commit56d7a964a5664d3778a0b7a369a5f350d0fe099f (patch)
treea851ba09087f5291d2c412981efd6605118a9142 /hw/virtio-serial.h
parent24e838b787959eba0bc516d36224df2c6855d02a (diff)
parent2d6c1ef40f3678ab47a4d14fb5dadaa486bfcda6 (diff)
downloadhqemu-56d7a964a5664d3778a0b7a369a5f350d0fe099f.zip
hqemu-56d7a964a5664d3778a0b7a369a5f350d0fe099f.tar.gz
Merge remote branch 'amit/for-anthony' into staging
Diffstat (limited to 'hw/virtio-serial.h')
-rw-r--r--hw/virtio-serial.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/virtio-serial.h b/hw/virtio-serial.h
index 8cb9fbe..5eb948e 100644
--- a/hw/virtio-serial.h
+++ b/hw/virtio-serial.h
@@ -45,6 +45,11 @@ struct virtio_console_control {
uint16_t value; /* Extra information for the key */
};
+struct virtio_serial_conf {
+ /* Max. number of ports we can have for a virtio-serial device */
+ uint32_t max_virtserial_ports;
+};
+
/* Some events for the internal messages (control packets) */
#define VIRTIO_CONSOLE_DEVICE_READY 0
#define VIRTIO_CONSOLE_PORT_ADD 1
OpenPOWER on IntegriCloud