On 06/26/14 18:37, Eric Blake wrote: > On 06/26/2014 09:50 AM, Laszlo Ersek wrote: >> Changes in v3: patch 1 creates the event with a "bool" field called >> "open" in the data portion, instead of introducing a two-valued enum. >> Patch 2 is left intact. Retested. >> >> Laszlo Ersek (2): >> virtio-serial: report frontend connection state via monitor >> char: report frontend open/closed state in 'query-chardev' > > Series: > Reviewed-by: Eric Blake <ebl...@redhat.com> > >> >> qapi-event.json | 14 ++++++++++++++ >> qapi-schema.json | 8 +++++++- >> hw/char/virtio-console.c | 12 +++++++++--- >> monitor.c | 1 + >> qemu-char.c | 1 + >> qmp-commands.hx | 19 ++++++++++++++----- >> 6 files changed, 46 insertions(+), 9 deletions(-) > > Luiz is probably going to revive qmp-events.txt, at which point that > file will need to be patched in a followup patch; I can help with that > process (it's documentation-only, so safe to take even after hard freeze).
If it helps, here's two examples in advance (also, note to self): 2014-06-26 15:41:37.895+0000: 1637: debug : qemuMonitorJSONIOProcessLine:172 : QEMU_MONITOR_RECV_EVENT: mon=0x7f2e2400cfd0 event={"timestamp": {"seconds": 1403797297, "microseconds": 895242}, "event": "VSERPORT_CHANGE", "data": {"open": true, "id": "channel0"}} 2014-06-26 15:41:40.878+0000: 1637: debug : qemuMonitorJSONIOProcessLine:172 : QEMU_MONITOR_RECV_EVENT: mon=0x7f2e2400cfd0 event={"timestamp": {"seconds": 1403797300, "microseconds": 878169}, "event": "VSERPORT_CHANGE", "data": {"open": false, "id": "channel0"}} Thanks Laszlo