aboutsummaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
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 41fbfd374e..4610ad4c00 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