]> xenbits.xensource.com Git - libvirt.git/commit
scsi_host: Introduce virFindSCSIHostByPCI
authorJohn Ferlan <jferlan@redhat.com>
Tue, 10 Jun 2014 11:47:12 +0000 (07:47 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 21 Jul 2014 16:55:11 +0000 (12:55 -0400)
commitef48a1b613d16b699c175c214c0819d85d4c1801
tree589ed09021fdfd7ec2ef704bfa2486d1ac2b42db
parentf3271f4cb32387494543186287106c425e2c3b7d
scsi_host: Introduce virFindSCSIHostByPCI

Introduce a new function to parse the provided scsi_host parent address
and unique_id value in order to find the /sys/class/scsi_host directory
which will allow a stable SCSI host address

Add a test to scsihosttest to lookup the host# name by using the PCI address
and unique_id value
docs/formatstorage.html.in
src/libvirt_private.syms
src/util/virutil.c
src/util/virutil.h
tests/scsihosttest.c