diff options
author | Laszlo Ersek <lersek@redhat.com> | 2014-06-26 17:50:02 +0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-06-27 09:33:27 -0400 |
commit | e2ae6159de2482ee5e22532301eb7f2795828d07 (patch) | |
tree | cc35e7385fc1befbb12608953f277f6cc9800700 /qapi/event.json | |
parent | dfab489214bcf88f1b81796118aaae3808620604 (diff) | |
download | qemu-e2ae6159de2482ee5e22532301eb7f2795828d07.zip qemu-e2ae6159de2482ee5e22532301eb7f2795828d07.tar.gz qemu-e2ae6159de2482ee5e22532301eb7f2795828d07.tar.bz2 |
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>
Diffstat (limited to 'qapi/event.json')
-rw-r--r-- | qapi/event.json | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/qapi/event.json b/qapi/event.json index 8f817b1..ff97aeb 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -316,3 +316,17 @@ { 'event': 'QUORUM_REPORT_BAD', 'data': { '*error': 'str', 'node-name': 'str', 'sector-num': 'int', 'sector-count': 'int' } } + +## +# @VSERPORT_CHANGE +# +# Emitted when the guest opens or closes a virtio-serial port. +# +# @id: device identifier of the virtio-serial port +# +# @open: true if the guest has opened the virtio-serial port +# +# Since: 2.1 +## +{ 'event': 'VSERPORT_CHANGE', + 'data': { 'id': 'str', 'open': 'bool' } } |