From 053801bc4950ec797ab8b47b4189dcdf2a1fc016 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Wed, 10 Feb 2010 23:49:56 -0200 Subject: Monitor: Convert pci_device_hot_remove() to cmd_new_ret() Signed-off-by: Luiz Capitulino Signed-off-by: Anthony Liguori --- sysemu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sysemu.h') diff --git a/sysemu.h b/sysemu.h index d41a338fe2..8ba618e54f 100644 --- a/sysemu.h +++ b/sysemu.h @@ -215,9 +215,9 @@ DriveInfo *add_init_drive(const char *opts); void pci_device_hot_add_print(Monitor *mon, const QObject *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, - QObject **ret_data); +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); /* serial ports */ -- cgit v1.2.3