aboutsummaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-08-28 15:27:15 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-04 09:37:31 -0500
commit1d4daa91ff0b77e86b3944faf8fc7f978cf51c84 (patch)
treeb1331e881597acdb9089ce77e3100a56b4aa4282 /sysemu.h
parentf18c16de4a321f1dda01dc7eae8f0aca86900e32 (diff)
downloadqemu-1d4daa91ff0b77e86b3944faf8fc7f978cf51c84.zip
qemu-1d4daa91ff0b77e86b3944faf8fc7f978cf51c84.tar.gz
qemu-1d4daa91ff0b77e86b3944faf8fc7f978cf51c84.tar.bz2
monitor: Port handler_3 to use QDict
This commit ports command handlers that receive three arguments to use the new monitor's dictionary. 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, 1 insertions, 2 deletions
diff --git a/sysemu.h b/sysemu.h
index 586d9d07..ac16c21 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -210,8 +210,7 @@ void destroy_nic(dev_match_fn *match_fn, void *arg);
void destroy_bdrvs(dev_match_fn *match_fn, void *arg);
/* pci-hotplug */
-void pci_device_hot_add(Monitor *mon, const char *pci_addr, const char *type,
- 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);