mbox series

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

Message ID 20240611102305.60735-1-philmd@linaro.org
Headers show
Series hw/usb: Introduce x-query-usbhost QMP command | expand

Message

Philippe Mathieu-Daudé June 11, 2024, 10:23 a.m. UTC
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

Comments

Philippe Mathieu-Daudé June 18, 2024, 10:57 a.m. UTC | #1
On 11/6/24 12:23, Philippe Mathieu-Daudé wrote:

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

Series queued.