virtio-serial: report frontend connection state via monitor
commite2ae6159de2482ee5e22532301eb7f2795828d07
authorLaszlo Ersek <lersek@redhat.com>
Thu, 26 Jun 2014 15:50:02 +0000 (26 17:50 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 27 Jun 2014 13:33:27 +0000 (27 09:33 -0400)
treecc35e7385fc1befbb12608953f277f6cc9800700
parentdfab489214bcf88f1b81796118aaae3808620604
virtio-serial: report frontend connection state via monitor

Libvirt wants to know about the guest-side connection state of some
virtio-serial ports (in particular the one(s) assigned to guest agent(s)).
Report such states with a new monitor event.

RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1080376
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
hw/char/virtio-console.c
monitor.c
qapi/event.json