Displaying 2 results from an estimated 2 matches for "sysfs_prefix".
2013 Jun 20
2
Question about vport operation for FC HBA
...with:
#virsh nodedev-list --cap fc_host
SCSI hosts can be found for above "nodedev-list  --cap scsi_host".
The libvirt I am working on is based ver 1.0.5, I checked the code and 
found below function is seems related with this issue:
src/util/virutil.c:
int
virIsCapableVport(const char *sysfs_prefix,
                   int host)
This function looks up if there is "vport_create" file under 
/sys/class/fc_host/host20, as the way to decide if a HBA device is 
capable of vport operation.
But seems this file is not compiled and virsh doesn't call it in my 
source code environment......
2013 Jun 20
0
Re: Question about vport operation for FC HBA
...> 
> SCSI hosts can be found for above "nodedev-list  --cap scsi_host".
> 
> The libvirt I am working on is based ver 1.0.5, I checked the code and found
> below function is seems related with this issue:
> src/util/virutil.c:
> int
> virIsCapableVport(const char *sysfs_prefix,
>                   int host)
> 
> This function looks up if there is "vport_create" file under
> /sys/class/fc_host/host20, as the way to decide if a HBA device is capable of
> vport operation.
> 
> But seems this file is not compiled and virsh doesn't call it i...