aboutsummaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-10-21 15:25:42 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:41 -0500
commit9ad4531e1e00b996ba55de04d6ecfb4d02a9fd7c (patch)
treeba077d0f67589e920591e9f269d10a1f450050fe /sysemu.h
parent1cc33683c8952c62343e06cceffba5c7990e3b7b (diff)
downloadqemu-9ad4531e1e00b996ba55de04d6ecfb4d02a9fd7c.zip
qemu-9ad4531e1e00b996ba55de04d6ecfb4d02a9fd7c.tar.gz
qemu-9ad4531e1e00b996ba55de04d6ecfb4d02a9fd7c.tar.bz2
kill dead nic unplug code.
Cleanup on unplug happens via qdev->exit() callback now. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysemu.h b/sysemu.h
index 763861d..cda5848 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -202,17 +202,13 @@ extern DriveInfo *drive_init(QemuOpts *arg, void *machine, int *fatal_error);
/* device-hotplug */
-typedef int (dev_match_fn)(void *dev_private, void *arg);
-
DriveInfo *add_init_drive(const char *opts);
-void destroy_nic(dev_match_fn *match_fn, void *arg);
/* pci-hotplug */
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 pci_device_hot_remove_success(PCIDevice *dev);
/* serial ports */