diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-10-16 12:23:48 -0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-27 12:28:57 -0500 |
commit | 6848d827162fea039f2658414a4adb6164a4f9b0 (patch) | |
tree | 00c8e63af0aba123b32cc39910e6ed26d66db0aa /hw/pci-hotplug.c | |
parent | 911d2963468d92f292594bc6dd0cae2b0b4f9c5a (diff) |
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 'hw/pci-hotplug.c')
-rw-r--r-- | hw/pci-hotplug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/pci-hotplug.c b/hw/pci-hotplug.c index 8a125c90d8..15a2dfb6d9 100644 --- a/hw/pci-hotplug.c +++ b/hw/pci-hotplug.c @@ -265,7 +265,8 @@ void pci_device_hot_remove(Monitor *mon, const char *pci_addr) qdev_unplug(&d->qdev); } -void do_pci_device_hot_remove(Monitor *mon, const QDict *qdict) +void do_pci_device_hot_remove(Monitor *mon, const QDict *qdict, + QObject **ret_data) { pci_device_hot_remove(mon, qdict_get_str(qdict, "pci_addr")); } |