]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: SCSI hostdev hot-plug: Fix automatic creation of SCSI controllers
authorMarc Hartmayer <mhartmay@linux.vnet.ibm.com>
Mon, 27 Jun 2016 14:43:47 +0000 (16:43 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 30 Jun 2016 10:48:51 +0000 (12:48 +0200)
commit12ec22b68befce0ae8020635e7fd71d783b1d716
treeee76b885168d7084833001ae687e7261e5474fd7
parent58d07db9b0c294e92e294cadd737eee8597bf747
qemu: SCSI hostdev hot-plug: Fix automatic creation of SCSI controllers

Ensure that the given controller and all controllers with a smaller
index exist; there must not be any missing index in between.

Reviewed-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
Reviewed-by: Bjoern Walk <bwalk@linux.vnet.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
src/qemu/qemu_hotplug.c