]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix SCSI hotplug on pseries guests
authorVitor de Lima <vitor.lima@eldorado.org.br>
Wed, 6 Nov 2013 16:13:55 +0000 (14:13 -0200)
committerLaine Stump <laine@laine.org>
Fri, 8 Nov 2013 14:25:02 +0000 (16:25 +0200)
commitefdd591dfba7eda6daaa60f54d31336e142ad097
treec7e44950da7601e11c8ce99b19ba1bcc9ed33d22
parent88c1fcd5e7b6568fdb1a06e0d9001c37d5e1cb78
qemu: Fix SCSI hotplug on pseries guests

This patch moves some code in the qemuDomainAttachSCSIDisk
function. The check for the existence of a PCI address assigned
to the SCSI controller was moved in order to be executed only
when needed. The PCI address of a controller is not necessary
if QEMU_CAPS_DEVICE is supported.

This fixes issues with the hotplug of SCSI disks on pseries guests.
src/qemu/qemu_hotplug.c