David Hildenbrand a0a49813f7 pc: Support for virtio-pmem-pci
Override the device hotplug handler to properly handle the memory device
part via virtio-pmem-pci callbacks from the machine hotplug handler and
forward to the actual PCI bus hotplug handler.

As PCI hotplug has not been properly factored out into hotplug handlers,
most magic is performed in the (un)realize functions. Also some PCI host
buses don't have a PCI hotplug handler at all yet, just to be sure that
we alway have a hotplug handler on x86, add a simple error check.

Unlocking virtio-pmem will unlock virtio-pmem-pci.

Signed-off-by: David Hildenbrand <david@redhat.com>
[ Disable virtio-pmem hotunplug ]
Signed-off-by: Pankaj Gupta <pagupta@redhat.com>
Message-Id: <20190619094907.10131-8-pagupta@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2019-07-04 17:00:32 -04:00
..
2019-06-12 13:20:21 +02:00
2019-06-16 16:16:52 -04:00
2019-06-13 09:34:50 +02:00
2019-06-12 13:20:21 +02:00
2019-07-04 17:00:32 -04:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:20:21 +02:00
2019-06-16 16:16:52 -04:00
2019-06-12 14:43:47 +01:00
2019-06-21 13:25:29 +02:00
2019-06-12 13:20:21 +02:00
2019-07-04 17:00:32 -04:00