qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] introduce QMP-only binaries
@ 2022-02-08 14:44 Paolo Bonzini
  2022-02-08 14:44 ` [RFC PATCH 1/3] migration: allow calling migration_shutdown without a prior initialization Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Paolo Bonzini @ 2022-02-08 14:44 UTC (permalink / raw)
  To: qemu-devel
  Cc: damien.hedde, berrange, mark.burton, armbru, f4bug, mirela.grujic

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

-- 
2.31.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-02-08 17:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-08 14:44 [RFC PATCH 0/3] introduce QMP-only binaries Paolo Bonzini
2022-02-08 14:44 ` [RFC PATCH 1/3] migration: allow calling migration_shutdown without a prior initialization Paolo Bonzini
2022-02-08 14:44 ` [RFC PATCH 2/3] net: initialize global variables early Paolo Bonzini
2022-02-08 14:47   ` Philippe Mathieu-Daudé via
2022-02-08 14:44 ` [RFC PATCH 3/3] introduce qemu-qmp-* Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).