search for: vport_create

Displaying 4 results from an estimated 4 matches for "vport_create".

2013 Jun 20
2
Question about vport operation for FC HBA
...reate /home/kvm/vHBA.xml error: Failed to create node device from /home/kvm/vHBA.xml error: internal error Parent device scsi_host20 is not capable of vport operations I checked the /sys/class folder for my HBA device that I want to use its NPIV feature, it's there: /sys/class/fc_host/host20/vport_create I can create a vHBA by using "echo 'xxxx:xxxx' > ./vport_create", a new fc host will be created after that. But I can't find any FC host with: #virsh nodedev-list --cap fc_host SCSI hosts can be found for above "nodedev-list --cap scsi_host". The libvirt I a...
2013 Jun 20
0
Re: Question about vport operation for FC HBA
...or: Failed to create node device from /home/kvm/vHBA.xml > error: internal error Parent device scsi_host20 is not capable of vport > operations > > I checked the /sys/class folder for my HBA device that I want to use its NPIV > feature, it's there: > /sys/class/fc_host/host20/vport_create > > I can create a vHBA by using "echo 'xxxx:xxxx' > ./vport_create", a new fc > host will be created after that. > > But I can't find any FC host with: > #virsh nodedev-list --cap fc_host > > SCSI hosts can be found for above "nodedev-list...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...create a new vport on a FC Host. * Input is a string of the form "<WWPN>:<WWNN>". Other attributes * will default to a NPIV-based FCP_Initiator; The WWNs are specified * as hex characters, and may *not* contain any prefixes (e.g. 0x, x, etc) */ static ssize_t store_fc_host_vport_create(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) { struct Scsi_Host *shost = transport_class_to_shost(dev); struct fc_vport_identifiers vid; struct fc_vport *vport; unsigned int cnt=count; int stat; memset(&vid, 0, sizeof(vid)); /* count may inclu...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...create a new vport on a FC Host. * Input is a string of the form "<WWPN>:<WWNN>". Other attributes * will default to a NPIV-based FCP_Initiator; The WWNs are specified * as hex characters, and may *not* contain any prefixes (e.g. 0x, x, etc) */ static ssize_t store_fc_host_vport_create(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) { struct Scsi_Host *shost = transport_class_to_shost(dev); struct fc_vport_identifiers vid; struct fc_vport *vport; unsigned int cnt=count; int stat; memset(&vid, 0, sizeof(vid)); /* count may inclu...