virtio-serial-bus: Maintain guest and host port open/close state
commit6663a1956eb628f1bddc96d2cab361e039df5571
authorAmit Shah <amit.shah@redhat.com>
Tue, 19 Jan 2010 19:06:53 +0000 (20 00:36 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 20 Jan 2010 14:25:23 +0000 (20 08:25 -0600)
tree6129b7448ac9e125b9e1a298283e3d56fa3f44b7
parent98b19252cf1bd97c54bc4613f3537c5ec0aae263
virtio-serial-bus: Maintain guest and host port open/close state

Via control channel messages, the guest can tell us whether a port got
opened or closed. Similarly, we can also indicate to the guest of host
port open/close events.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-serial-bus.c
hw/virtio-serial.h