Displaying 1 result from an estimated 1 matches for "pci_hotplug_fn".
2012 May 15
12
[PATCH 1/4] Introduce a new hotplug state: Force eject.
...e_device(s, slot);
} else {
diff --git a/hw/pci.h b/hw/pci.h
index 8d0aa49..3b61e43 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -273,6 +273,7 @@ typedef enum {
PCI_HOTPLUG_DISABLED,
PCI_HOTPLUG_ENABLED,
PCI_COLDPLUG_ENABLED,
+ PCI_FORCE_EJECT,
} PCIHotplugState;
typedef int (*pci_hotplug_fn)(DeviceState *qdev, PCIDevice *pci_dev,
--
Anthony PERARD