summaryrefslogtreecommitdiffstats
path: root/hw/i386/Kconfig
diff options
context:
space:
mode:
authorDavid Hildenbrand2019-06-19 11:49:07 +0200
committerMichael S. Tsirkin2019-07-04 23:00:32 +0200
commita0a49813f7f2fc23bfe8a4fc6760e2a60c9a3e59 (patch)
tree347e97c543e1e4e71f11d5d6361f808bf0d5ffc7 /hw/i386/Kconfig
parentnuma: Handle virtio-pmem in NUMA stats (diff)
downloadqemu-a0a49813f7f2fc23bfe8a4fc6760e2a60c9a3e59.tar.gz
qemu-a0a49813f7f2fc23bfe8a4fc6760e2a60c9a3e59.tar.xz
qemu-a0a49813f7f2fc23bfe8a4fc6760e2a60c9a3e59.zip
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/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
index 9817888216..4ddf2a9c55 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