[libvirt] [PATCH 0/7] util: Fixes for NPIV related helpers

Osier Yang jyang at redhat.com
Mon May 6 12:45:10 UTC 2013


Osier Yang (7):
  util: Fix regression of wwn reading
  util: Fix regression introduced by commit 4360a098441
  util: Don't miss the slash in constructed path
  util: Change virIsCapable* to return bool
  util: Update the comment for virGetFCHostNameByWWN
  util: Honor the passed sysfs_prefix
  tests: Add tests for fc_host

 src/node_device/node_device_linux_sysfs.c        |   4 +-
 src/util/virutil.c                               |  47 +++---
 src/util/virutil.h                               |   4 +-
 tests/Makefile.am                                |   5 +
 tests/fchostdata/fc_host/host4/fabric_name       |   1 +
 tests/fchostdata/fc_host/host4/max_npiv_vports   |   1 +
 tests/fchostdata/fc_host/host4/node_name         |   1 +
 tests/fchostdata/fc_host/host4/npiv_vports_inuse |   1 +
 tests/fchostdata/fc_host/host4/port_name         |   1 +
 tests/fchostdata/fc_host/host4/port_state        |   1 +
 tests/fchostdata/fc_host/host4/vport_create      |   0
 tests/fchostdata/fc_host/host4/vport_delete      |   0
 tests/fchostdata/fc_host/host5/fabric_name       |   1 +
 tests/fchostdata/fc_host/host5/max_npiv_vports   |   1 +
 tests/fchostdata/fc_host/host5/node_name         |   1 +
 tests/fchostdata/fc_host/host5/npiv_vports_inuse |   1 +
 tests/fchostdata/fc_host/host5/port_name         |   1 +
 tests/fchostdata/fc_host/host5/port_state        |   1 +
 tests/fchostdata/fc_host/host5/vport_create      |   0
 tests/fchostdata/fc_host/host5/vport_delete      |   0
 tests/fchosttest.c                               | 175 +++++++++++++++++++++++
 21 files changed, 220 insertions(+), 27 deletions(-)
 create mode 100644 tests/fchostdata/fc_host/host4/fabric_name
 create mode 100644 tests/fchostdata/fc_host/host4/max_npiv_vports
 create mode 100644 tests/fchostdata/fc_host/host4/node_name
 create mode 100644 tests/fchostdata/fc_host/host4/npiv_vports_inuse
 create mode 100644 tests/fchostdata/fc_host/host4/port_name
 create mode 100644 tests/fchostdata/fc_host/host4/port_state
 create mode 100644 tests/fchostdata/fc_host/host4/vport_create
 create mode 100644 tests/fchostdata/fc_host/host4/vport_delete
 create mode 100644 tests/fchostdata/fc_host/host5/fabric_name
 create mode 100644 tests/fchostdata/fc_host/host5/max_npiv_vports
 create mode 100644 tests/fchostdata/fc_host/host5/node_name
 create mode 100644 tests/fchostdata/fc_host/host5/npiv_vports_inuse
 create mode 100644 tests/fchostdata/fc_host/host5/port_name
 create mode 100644 tests/fchostdata/fc_host/host5/port_state
 create mode 100644 tests/fchostdata/fc_host/host5/vport_create
 create mode 100644 tests/fchostdata/fc_host/host5/vport_delete
 create mode 100644 tests/fchosttest.c

-- 
1.8.1.4




More information about the libvir-list mailing list