aboutsummaryrefslogtreecommitdiff
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 /sysemu.h
parentmonitor: Convert do_migrate_cancel() to QObject (diff)
downloadqemu-kvm-6848d827162fea039f2658414a4adb6164a4f9b0.tar.gz
qemu-kvm-6848d827162fea039f2658414a4adb6164a4f9b0.tar.bz2
qemu-kvm-6848d827162fea039f2658414a4adb6164a4f9b0.zip
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 'sysemu.h')
-rw-r--r--sysemu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysemu.h b/sysemu.h
index cda58486b..17af0242a 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -208,7 +208,8 @@ DriveInfo *add_init_drive(const char *opts);
void pci_device_hot_add(Monitor *mon, const QDict *qdict);
void drive_hot_add(Monitor *mon, const QDict *qdict);
void pci_device_hot_remove(Monitor *mon, const char *pci_addr);
-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);
/* serial ports */