Skip to content

RFC monitor/hmp: command register support

Gerd Hoffmann qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5monitor: allow register hmp commandsinclude/monitor/monitor.h monitor/hmp.c monitor/misc.c+25 -01 reply
2/5usb: drop usb_host_dev_is_scsi_storage hookhw/ppc/spapr.c hw/usb/dev-storage-bot.c hw/usb/dev-storage-classic.c +4 more+17 -361 reply
3/5monitor/usb: register 'info usbhost' dynamicallyhmp-commands-info.hx hw/usb/host-libusb.c hw/usb/host-stub.c +1 more+2 -440 replies
4/5usb: build usb-host as modulehw/usb/host-libusb.c hw/usb/meson.build+7 -20 replies
5/5monitor/tcg: move tcg hmp commands to accel/tcg, register them dynamicallyaccel/tcg/hmp.c accel/tcg/meson.build hmp-commands-info.hx +1 more+30 -200 replies

Reviews trailers per patch

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

PatchDavid Gibson
1/5
2/5A-b
3/5
4/5
5/5

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

Read the v1 thread

Cover letter [PATCH 0/5] [RfC] monitor/hmp: command register support

Helps making qemu more modular,
see commit messages for details.

Depends on the "modules: add meta-data database" patch series.

Gerd Hoffmann (5):
monitor: allow register hmp commands
usb: drop usb_host_dev_is_scsi_storage hook monitor/usb: register 'info usbhost' dynamically
usb: build usb-host as module
monitor/tcg: move tcg hmp commands to accel/tcg, register them
dynamically

 include/hw/usb.h             |  7 +++++-
 include/monitor/monitor.h    |  3 +++
 accel/tcg/hmp.c              | 29 +++++++++++++++++++++++
 hw/ppc/spapr.c               |  2 +-
 hw/usb/dev-storage-bot.c     |  1 +
 hw/usb/dev-storage-classic.c |  1 +
 hw/usb/dev-uas.c             |  1 +
 hw/usb/host-libusb.c         | 38 ++++++++----------------------
 hw/usb/host-stub.c           | 45 ------------------------------------
 monitor/hmp.c                |  7 ++++++
 monitor/misc.c               | 33 ++++++++++++--------------
 accel/tcg/meson.build        |  1 +
 hmp-commands-info.hx         |  3 ---
 hw/usb/meson.build           | 10 ++++----
 14 files changed, 80 insertions(+), 101 deletions(-)
 create mode 100644 accel/tcg/hmp.c
 delete mode 100644 hw/usb/host-stub.c
Signature · 1 line
2.31.1