Skip to content

hw/usb: Introduce x-query-usbhost QMP command

Philippe Mathieu-Daudé qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 6 repliesIn review
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

- Consider modules (Daniel)
- Remove monitor_register_hmp

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/usb: Remove unused 'host.h' headerhw/usb/host.h+0 -441 reply
2/3hw/usb: Introduce x-query-usbhost QMP commandhmp-commands-info.hx hw/usb/bus-stub.c hw/usb/host-libusb-common.c +6 more+106 -183 replies
3/3monitor: Remove monitor_register_hmp()include/monitor/monitor.h monitor/hmp-target.c+0 -181 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDaniel P. Berrangé
1/3R-b
2/3R-b
3/3R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] hw/usb: Introduce x-query-usbhost QMP command

Since v1:
- Consider modules (Daniel)
- Remove monitor_register_hmp

Philippe Mathieu-Daudé (3):
hw/usb: Remove unused 'host.h' header
hw/usb: Introduce x-query-usbhost QMP command
monitor: Remove monitor_register_hmp()

 qapi/machine.json           | 18 +++++++++++++++
 hw/usb/host-libusb.h        | 16 ++++++++++++++
 hw/usb/host.h               | 44 -------------------------------------
 include/hw/usb.h            |  3 ---
 include/monitor/monitor.h   |  2 --
 hw/usb/bus-stub.c           |  7 +++++-
 hw/usb/host-libusb-common.c | 31 ++++++++++++++++++++++++++
 hw/usb/host-libusb.c        | 43 ++++++++++++++++++++++++------------
 monitor/hmp-target.c        | 16 --------------
 tests/qtest/qmp-cmd-test.c  |  3 +++
 hmp-commands-info.hx        |  2 ++
 hw/usb/meson.build          |  1 +
 12 files changed, 106 insertions(+), 80 deletions(-)
 create mode 100644 hw/usb/host-libusb.h
 delete mode 100644 hw/usb/host.h
 create mode 100644 hw/usb/host-libusb-common.c
Signature · 1 line
2.41.0