virtio-serial: Send out guest data to ports only if port is opened
commit3ecb45f893d09a97b8f24399b5e40808a708261f
authorAmit Shah <amit.shah@redhat.com>
Tue, 27 Apr 2010 12:34:04 +0000 (27 18:04 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 28 Apr 2010 13:58:21 +0000 (28 08:58 -0500)
treed0baca75d720b6981616bc5f2d743fc073deef77
parent4048c7c321d3029e8c41863a9f54dc39054c57ca
virtio-serial: Send out guest data to ports only if port is opened

Data should be written only when ports are open.

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