diff options
author | David Hildenbrand <david@redhat.com> | 2019-06-19 15:19:07 +0530 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-07-04 17:00:32 -0400 |
commit | a0a49813f7f2fc23bfe8a4fc6760e2a60c9a3e59 (patch) | |
tree | 347e97c543e1e4e71f11d5d6361f808bf0d5ffc7 /hw/i386/Kconfig | |
parent | cae02c3480b806ce1fb30a3a5c54ae1b43a412e7 (diff) | |
download | qemu-a0a49813f7f2fc23bfe8a4fc6760e2a60c9a3e59.zip qemu-a0a49813f7f2fc23bfe8a4fc6760e2a60c9a3e59.tar.gz qemu-a0a49813f7f2fc23bfe8a4fc6760e2a60c9a3e59.tar.bz2 |
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>
Diffstat (limited to 'hw/i386/Kconfig')
-rw-r--r-- | hw/i386/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig index 9817888..4ddf2a9 100644 --- a/hw/i386/Kconfig +++ b/hw/i386/Kconfig @@ -30,6 +30,7 @@ config PC # For ACPI builder: select SERIAL_ISA select ACPI_VMGENID + select VIRTIO_PMEM_SUPPORTED config PC_PCI bool |