]> git.ipfire.org Git - thirdparty/libvirt.git/commit
getAdapterName: Lookup stable scsi_host
authorJohn Ferlan <jferlan@redhat.com>
Mon, 9 Jun 2014 16:19:16 +0000 (12:19 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 21 Jul 2014 16:55:11 +0000 (12:55 -0400)
commitea37fb34a95df2295538b51122dd1316c765c41b
tree89fcf01f4b79596bac28f598090a262419006352
parentef48a1b613d16b699c175c214c0819d85d4c1801
getAdapterName: Lookup stable scsi_host

If a parentaddr was provided in the XML, have getAdapterName lookup
the stable address.  This allows virStorageBackendSCSICheckPool() and
virStorageBackendSCSIRefreshPool() to automagically find the scsi_host
by its PCI address and unique_id
src/storage/storage_backend_scsi.c