summaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-02-10 23:49:55 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-19 15:18:17 -0600
commit395560c8d15fb7980742990d00ae63aac87d43d6 (patch)
tree42d268432284b7266c57db7d2b96ba5906e96f30 /sysemu.h
parentaeb91c1e13d574ce71a408fb4cf836fbc45b40ab (diff)
downloadqemu-395560c8d15fb7980742990d00ae63aac87d43d6.tar.gz
qemu-395560c8d15fb7980742990d00ae63aac87d43d6.tar.bz2
qemu-395560c8d15fb7980742990d00ae63aac87d43d6.zip
Monitor: Convert pci_device_hot_add() to cmd_new_ret()
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysemu.h b/sysemu.h
index 9c3b281091..d41a338fe2 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -213,7 +213,7 @@ DriveInfo *add_init_drive(const char *opts);
/* pci-hotplug */
void pci_device_hot_add_print(Monitor *mon, const QObject *data);
-void pci_device_hot_add(Monitor *mon, const QDict *qdict, QObject **ret_data);
+int pci_device_hot_add(Monitor *mon, const QDict *qdict, QObject **ret_data);
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,