Re: [Qemu-devel] [PATCH v2 1/4] pci: allow devices being tagged as not hotpluggable.

2011-01-13 Thread Gerd Hoffmann
@@ -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,

Re: [Qemu-devel] [PATCH v2 1/4] pci: allow devices being tagged as not hotpluggable.

2011-01-12 Thread Markus Armbruster
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 +++

[Qemu-devel] [PATCH v2 1/4] pci: allow devices being tagged as not hotpluggable.

2011-01-06 Thread Gerd Hoffmann
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