summaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-05-12 10:53:01 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2010-05-19 12:04:08 -0300
commitb752daf03092b6720e39fdf7f4198eec95f71468 (patch)
tree5ea997c3a75378f66e68a4526279622515afc904 /qemu-monitor.hx
parent6c6a58aee425338bf67ec8faffdcda56b0b82090 (diff)
downloadqemu-b752daf03092b6720e39fdf7f4198eec95f71468.tar.gz
Revert "monitor: Convert do_pci_device_hot_remove() to QObject"
We don't want pci_del in QMP. Use device_del instead. This reverts commit 6848d827162fea039f2658414a4adb6164a4f9b0. Conflicts: hw/pci-hotplug.c sysemu.h Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r--qemu-monitor.hx3
1 files changed, 1 insertions, 2 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index fba4c3fcbd..b6e3467c08 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -874,8 +874,7 @@ ETEXI
.args_type = "pci_addr:s",
.params = "[[<domain>:]<bus>:]<slot>",
.help = "hot remove PCI device",
- .user_print = monitor_user_noop,
- .mhandler.cmd_new = do_pci_device_hot_remove,
+ .mhandler.cmd = do_pci_device_hot_remove,
},
#endif