diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-12-10 17:16:09 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-12 07:59:49 -0600 |
commit | 7a344f7ac7bb651d0556a933ed8060d3a9e5d949 (patch) | |
tree | 047ea0c1f3c8c312f52bc42675b3b2b2a92cdc1e /qemu-monitor.hx | |
parent | 588b38320134edee4a569f60ed88c9848961d6ee (diff) | |
download | qemu-7a344f7ac7bb651d0556a933ed8060d3a9e5d949.tar.gz qemu-7a344f7ac7bb651d0556a933ed8060d3a9e5d949.tar.bz2 qemu-7a344f7ac7bb651d0556a933ed8060d3a9e5d949.zip |
PCI: Convert pci_device_hot_add() to QObject
Return a QDict with information about the just added device.
This commit should not change user output.
Please, note that this patch does not do error handling
conversion. In error conditions the handler still calls
monitor_printf().
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r-- | qemu-monitor.hx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx index 0657b2d160..c788c7378e 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -810,7 +810,8 @@ ETEXI .args_type = "pci_addr:s,type:s,opts:s?", .params = "auto|[[<domain>:]<bus>:]<slot> nic|storage [[vlan=n][,macaddr=addr][,model=type]] [file=file][,if=type][,bus=nr]...", .help = "hot-add PCI device", - .mhandler.cmd = pci_device_hot_add, + .user_print = pci_device_hot_add_print, + .mhandler.cmd_new = pci_device_hot_add, }, #endif |