aboutsummaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-10-16 12:23:48 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:57 -0500
commit6848d827162fea039f2658414a4adb6164a4f9b0 (patch)
tree00c8e63af0aba123b32cc39910e6ed26d66db0aa /qemu-monitor.hx
parent911d2963468d92f292594bc6dd0cae2b0b4f9c5a (diff)
downloadqemu-6848d827162fea039f2658414a4adb6164a4f9b0.zip
qemu-6848d827162fea039f2658414a4adb6164a4f9b0.tar.gz
qemu-6848d827162fea039f2658414a4adb6164a4f9b0.tar.bz2
monitor: Convert do_pci_device_hot_remove() to QObject
Errors are still directly printed, as we are only converting regular output. 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.hx3
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index 41fbfd3..4610ad4 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -816,7 +816,8 @@ ETEXI
.args_type = "pci_addr:s",
.params = "[[<domain>:]<bus>:]<slot>",
.help = "hot remove PCI device",
- .mhandler.cmd = do_pci_device_hot_remove,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_pci_device_hot_remove,
},
#endif