diff options
author | Wenchao Xia | 2013-01-14 07:06:25 +0100 |
---|---|---|
committer | Luiz Capitulino | 2013-01-17 13:24:52 +0100 |
commit | 84f2d0ea0f39bc140a6c69ba8e3ffd6b10cae6fa (patch) | |
tree | 61bda02eccdcc9fe834841ddf0388f1845c0b5b5 /hw/usb | |
parent | Merge remote-tracking branch 'kraxel/chardev.1' into staging (diff) | |
download | qemu-84f2d0ea0f39bc140a6c69ba8e3ffd6b10cae6fa.tar.gz qemu-84f2d0ea0f39bc140a6c69ba8e3ffd6b10cae6fa.tar.xz qemu-84f2d0ea0f39bc140a6c69ba8e3ffd6b10cae6fa.zip |
HMP: add QDict to info callback handler
This patch change all info call back function to take
additional QDict * parameter, which allow those command
take parameter. Now it is set to NULL at default case.
Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r-- | hw/usb/bus.c | 2 | ||||
-rw-r--r-- | hw/usb/host-bsd.c | 2 | ||||
-rw-r--r-- | hw/usb/host-linux.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/hw/usb/bus.c b/hw/usb/bus.c index 2dc76756a0..e58cd9ade2 100644 --- a/hw/usb/bus.c +++ b/hw/usb/bus.c @@ -542,7 +542,7 @@ static char *usb_get_fw_dev_path(DeviceState *qdev) return fw_path; } -void usb_info(Monitor *mon) +void usb_info(Monitor *mon, const QDict *qdict) { USBBus *bus; USBDevice *dev; diff --git a/hw/usb/host-bsd.c b/hw/usb/host-bsd.c index 172aecbffd..07f0e01cc0 100644 --- a/hw/usb/host-bsd.c +++ b/hw/usb/host-bsd.c @@ -633,7 +633,7 @@ static int usb_host_info_device(void *opaque, return 0; } -void usb_host_info(Monitor *mon) +void usb_host_info(Monitor *mon, const QDict *qdict) { usb_host_scan(mon, usb_host_info_device); } diff --git a/hw/usb/host-linux.c b/hw/usb/host-linux.c index ad75ce0702..a2cff8a74d 100644 --- a/hw/usb/host-linux.c +++ b/hw/usb/host-linux.c @@ -1998,7 +1998,7 @@ static void hex2str(int val, char *str, size_t size) } } -void usb_host_info(Monitor *mon) +void usb_host_info(Monitor *mon, const QDict *qdict) { struct USBAutoFilter *f; struct USBHostDevice *s; |