From 3f84865ade594a2ec1ef613ab5fd11949f3d49de Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 25 Sep 2009 21:42:45 +0200 Subject: pci: windup acpi-based hotplug Switch over acpi-based PCI hotplug for pc over to the new qdev-based pci hotplugging. Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori --- sysemu.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sysemu.h') diff --git a/sysemu.h b/sysemu.h index ea4e2c129b..01c643106b 100644 --- a/sysemu.h +++ b/sysemu.h @@ -199,11 +199,6 @@ BlockDriverState *qdev_init_bdrv(DeviceState *dev, BlockInterfaceType type); extern QemuOpts *drive_add(const char *file, const char *fmt, ...); extern DriveInfo *drive_init(QemuOpts *arg, void *machine, int *fatal_error); -/* acpi */ -typedef void (*qemu_system_device_hot_add_t)(int pcibus, int slot, int state); -void qemu_system_device_hot_add_register(qemu_system_device_hot_add_t callback); -void qemu_system_device_hot_add(int pcibus, int slot, int state); - /* device-hotplug */ typedef int (dev_match_fn)(void *dev_private, void *arg); @@ -217,7 +212,7 @@ 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(int pcibus, int slot); +void pci_device_hot_remove_success(PCIDevice *dev); /* serial ports */ -- cgit v1.2.3