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' 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(-) -- 1.8.3.1
