@@ -1620,6 +1620,11 @@ static int pci_qdev_init(DeviceState *qdev, DeviceInfo
*base)
info-is_bridge);
if (pci_dev == NULL)
return -1;
+if (qdev-hotplugged info-no_hotplug) {
+qerror_report(QERR_DEVICE_NO_HOTPLUG,
Gerd Hoffmann kra...@redhat.com writes:
This patch adds a field to PCIDeviceInfo to tag devices as being
not hotpluggable. Any attempt to plug-in or -out such a device
will throw an error.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/pci.c | 10 ++
hw/pci.h |3 +++
This patch adds a field to PCIDeviceInfo to tag devices as being
not hotpluggable. Any attempt to plug-in or -out such a device
will throw an error.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/pci.c | 10 ++
hw/pci.h |3 +++
qerror.c |4
qerror.h |3 +++
4