mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
1b8ae799d8
commit
fc30920731
5 changed files with 38 additions and 10 deletions
|
@ -1447,3 +1447,15 @@
|
|||
##
|
||||
{ 'command': 'x-query-roms',
|
||||
'returns': 'HumanReadableText' }
|
||||
|
||||
##
|
||||
# @x-query-usb:
|
||||
#
|
||||
# Query information on the USB devices
|
||||
#
|
||||
# Returns: USB device information
|
||||
#
|
||||
# Since: 6.2
|
||||
##
|
||||
{ 'command': 'x-query-usb',
|
||||
'returns': 'HumanReadableText' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue