Skip to content

RFC introduce QMP-only binaries

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3migration: allow calling migration_shutdown without a prior initializationmigration/migration.c+4 -00 replies
2/3net: initialize global variables earlyhw/net/xen_nic.c include/net/net.h net/net.c +1 more+16 -111 reply
3/3introduce qemu-qmp-*meson.build softmmu/climain.c softmmu/meson.build +1 more+133 -60 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/3] introduce QMP-only binaries

These three patches introduce a new system emulation binary qemu-qmp-* that does nothing but start a QMP monitor (via systemd activation protocol if possible, otherwise on stdio). The idea is that the creation of the machine would happen through new commands such as machine-set, accel-set, etc.

Patches 1 and 2 simply avoid that {'execute':'quit'} crashes; that's more or less the extent of my testing.

Paolo

Paolo Bonzini (3):
migration: allow calling migration_shutdown without a prior
initialization
net: initialize global variables early
introduce qemu-qmp-*

 hw/net/xen_nic.c            |  20 +++---
 include/net/net.h           |   1 +
 meson.build                 |  16 +++--
 migration/migration.c       |   4 ++
 net/net.c                   |   5 +-
 softmmu/{vl.c => climain.c} |   2 +-
 softmmu/meson.build         |   1 -
 softmmu/qmpmain.c           | 120 ++++++++++++++++++++++++++++++++++++
 softmmu/runstate.c          |   1 +
 9 files changed, 153 insertions(+), 17 deletions(-)
 rename softmmu/{vl.c => climain.c} (99%)
 create mode 100644 softmmu/qmpmain.c
Signature · 1 line
2.31.1