/**
- * @conn: Connection pointer
* @fchost: Pointer to vHBA adapter
*
* Create a vHBA for Storage. This code accomplishes this via searching
* Returns vHBA name on success, NULL on failure with an error message set
*/
char *
-virNodeDeviceCreateVport(virConnectPtr conn,
- virStorageAdapterFCHostPtr fchost)
+virNodeDeviceCreateVport(virStorageAdapterFCHostPtr fchost)
{
unsigned int parent_host;
char *name = NULL;
char *parent_hoststr = NULL;
bool skip_capable_check = false;
- VIR_DEBUG("conn=%p, parent='%s', wwnn='%s' wwpn='%s'",
- conn, NULLSTR(fchost->parent), fchost->wwnn, fchost->wwpn);
+ VIR_DEBUG("parent='%s', wwnn='%s' wwpn='%s'",
+ NULLSTR(fchost->parent), fchost->wwnn, fchost->wwpn);
if (fchost->parent) {
if (VIR_STRDUP(parent_hoststr, fchost->parent) < 0)
const char *nodedev_name);
char *
-virNodeDeviceCreateVport(virConnectPtr conn,
- virStorageAdapterFCHostPtr fchost);
+virNodeDeviceCreateVport(virStorageAdapterFCHostPtr fchost);
int
virNodeDeviceDeleteVport(virConnectPtr conn,
}
}
- if (!(name = virNodeDeviceCreateVport(conn, fchost)))
+ if (!(name = virNodeDeviceCreateVport(fchost)))
goto cleanup;
/* Creating our own VPORT didn't leave enough time to find any LUN's,