aboutsummaryrefslogtreecommitdiff
path: root/python/qemu/machine.py
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2019-06-19 15:19:07 +0530
committerMichael S. Tsirkin <mst@redhat.com>2019-07-04 17:00:32 -0400
commita0a49813f7f2fc23bfe8a4fc6760e2a60c9a3e59 (patch)
tree347e97c543e1e4e71f11d5d6361f808bf0d5ffc7 /python/qemu/machine.py
parentcae02c3480b806ce1fb30a3a5c54ae1b43a412e7 (diff)
downloadqemu-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 'python/qemu/machine.py')
0 files changed, 0 insertions, 0 deletions