]> git.proxmox.com Git - mirror_qemu.git/commit
qapi: introduce x-query-usb QMP command
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 8 Sep 2021 09:35:43 +0000 (10:35 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 2 Nov 2021 15:55:14 +0000 (15:55 +0000)
commitfc30920731470a44c69c8359be45b72ac7314fb6
treeeef0718422293f957be3d993bd4abd69137e42c7
parent1b8ae799d8916dd589cc31db697a82b4e86880d0
qapi: introduce x-query-usb QMP command

This is a counterpart to the HMP "info usb" command. It is being
added with an "x-" prefix because this QMP command is intended as an
adhoc debugging tool and will thus not be modelled in QAPI as fully
structured data, nor will it have long term guaranteed stability.
The existing HMP command is rewritten to call the QMP command.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
hmp-commands-info.hx
hw/usb/bus.c
qapi/machine.json
stubs/usb-dev-stub.c
tests/qtest/qmp-cmd-test.c