summaryrefslogtreecommitdiff
path: root/sysemu.h
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 /sysemu.h
parent6c6a58aee425338bf67ec8faffdcda56b0b82090 (diff)
downloadqemu-b752daf03092b6720e39fdf7f4198eec95f71468.zip
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 'sysemu.h')
-rw-r--r--sysemu.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysemu.h b/sysemu.h
index 47975b573e..643c0c6c8a 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -204,8 +204,7 @@ 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);
int pci_device_hot_remove(Monitor *mon, const char *pci_addr);
-int do_pci_device_hot_remove(Monitor *mon, const QDict *qdict,
- QObject **ret_data);
+void do_pci_device_hot_remove(Monitor *mon, const QDict *qdict);
/* serial ports */