[Qemu-devel] [RFC 0/3] monitor: allow per-monitor events

Peter Xu posted 3 patches 7 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180704091038.29449-1-peterx@redhat.com
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
Test s390x passed
include/qapi/qmp-event.h   |  6 +++-
block/block-backend.c      |  6 ++--
block/qcow2.c              |  2 +-
block/quorum.c             |  4 +--
block/write-threshold.c    |  2 +-
blockjob.c                 | 10 +++---
cpus.c                     |  8 ++---
dump.c                     |  2 +-
hw/acpi/core.c             |  2 +-
hw/acpi/cpu.c              |  2 +-
hw/acpi/memory_hotplug.c   |  4 +--
hw/char/virtio-console.c   |  2 +-
hw/core/qdev.c             |  2 +-
hw/net/virtio-net.c        |  2 +-
hw/ppc/spapr_rtc.c         |  2 +-
hw/timer/mc146818rtc.c     |  2 +-
hw/virtio/virtio-balloon.c |  2 +-
hw/watchdog/watchdog.c     | 14 ++++-----
job.c                      |  2 +-
migration/migration.c      |  4 +--
migration/ram.c            |  2 +-
monitor.c                  | 62 +++++++++++++++++++++++++++++---------
scsi/pr-manager-helper.c   |  2 +-
tests/test-qmp-event.c     | 10 +++---
ui/spice-core.c            |  8 ++---
ui/vnc.c                   |  6 ++--
vl.c                       | 14 ++++-----
scripts/qapi/common.py     | 16 ++++++++--
scripts/qapi/events.py     | 27 ++++++++++++-----
trace-events               |  2 +-
30 files changed, 146 insertions(+), 83 deletions(-)
[Qemu-devel] [RFC 0/3] monitor: allow per-monitor events
Posted by Peter Xu 7 years, 7 months ago
This series tries to allow QEMU to send events to specific monitor.
Markus told me to send this out before I threw the code away, so I
did.  Testing only covered compilation and qtest to make sure the
broadcast way should be working at least.

No real user, no nice testing, no idea on whether it could finally be
used - it takes the RFC tag then.

Thanks,

Peter Xu (3):
  monitor: allow monitor_qapi_event_emit specify mon
  monitor: let QMPEventFuncEmit take a monitor arg
  qapi: provide send/bcast interface for events

 include/qapi/qmp-event.h   |  6 +++-
 block/block-backend.c      |  6 ++--
 block/qcow2.c              |  2 +-
 block/quorum.c             |  4 +--
 block/write-threshold.c    |  2 +-
 blockjob.c                 | 10 +++---
 cpus.c                     |  8 ++---
 dump.c                     |  2 +-
 hw/acpi/core.c             |  2 +-
 hw/acpi/cpu.c              |  2 +-
 hw/acpi/memory_hotplug.c   |  4 +--
 hw/char/virtio-console.c   |  2 +-
 hw/core/qdev.c             |  2 +-
 hw/net/virtio-net.c        |  2 +-
 hw/ppc/spapr_rtc.c         |  2 +-
 hw/timer/mc146818rtc.c     |  2 +-
 hw/virtio/virtio-balloon.c |  2 +-
 hw/watchdog/watchdog.c     | 14 ++++-----
 job.c                      |  2 +-
 migration/migration.c      |  4 +--
 migration/ram.c            |  2 +-
 monitor.c                  | 62 +++++++++++++++++++++++++++++---------
 scsi/pr-manager-helper.c   |  2 +-
 tests/test-qmp-event.c     | 10 +++---
 ui/spice-core.c            |  8 ++---
 ui/vnc.c                   |  6 ++--
 vl.c                       | 14 ++++-----
 scripts/qapi/common.py     | 16 ++++++++--
 scripts/qapi/events.py     | 27 ++++++++++++-----
 trace-events               |  2 +-
 30 files changed, 146 insertions(+), 83 deletions(-)

-- 
2.17.1


Re: [Qemu-devel] [RFC 0/3] monitor: allow per-monitor events
Posted by Peter Xu 7 years, 7 months ago
On Wed, Jul 04, 2018 at 05:10:35PM +0800, Peter Xu wrote:
> This series tries to allow QEMU to send events to specific monitor.
> Markus told me to send this out before I threw the code away, so I
> did.  Testing only covered compilation and qtest to make sure the
> broadcast way should be working at least.
> 
> No real user, no nice testing, no idea on whether it could finally be
> used - it takes the RFC tag then.

This is based on below series:

Subject: [PATCH 0/9] monitor: enable OOB by default

Patchew version:

Based-on: <20180704084507.14560-1-peterx@redhat.com>

-- 
Peter Xu