mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
monitor/usb: register 'info usbhost' dynamically
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jose R. Ziviani <jziviani@suse.de> Message-Id: <20210624103836.2382472-33-kraxel@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
b7b2a60b01
commit
f1a74bf976
4 changed files with 2 additions and 44 deletions
|
@ -1781,6 +1781,7 @@ static TypeInfo usb_host_dev_info = {
|
|||
static void usb_host_register_types(void)
|
||||
{
|
||||
type_register_static(&usb_host_dev_info);
|
||||
monitor_register_hmp("usbhost", true, hmp_info_usbhost);
|
||||
}
|
||||
|
||||
type_init(usb_host_register_types)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue