pci: allow devices being tagged as not hotpluggable.
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 6 Jan 2011 14:14:37 +0000 (15:14 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Jan 2011 11:29:16 +0000 (13:29 +0200)
commit99814bc8ea2ce643a30d7c00d33cbbf07951dad2
tree6b9f0cb463e07c7661e360020736968902fd8230
parentfd7275561b008c70d24a763c30999c255fa96080
pci: allow devices being tagged as not hotpluggable.

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 <kraxel@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci.c
hw/pci.h
qerror.c
qerror.h