[libvirt] [PATCH 00/12] Miscs of nodedev

Osier Yang jyang at redhat.com
Mon Jan 7 17:05:22 UTC 2013


Basicly, this set is created on the road to implement the
supports for NPIV migration [1]. Some of them are preparations
(such as the various new util functions), some of them are
fixes, and others are improvements.

Another set to support the persistent vHBA via scsi storage
pool will come soon.

Osier Yang (12):
  Introduce new public API virNodeDeviceFindByWWN
  remote: Wire up the remote protocol
  nodedev: Implement virNodeDeviceFindByWWN
  virsh: Use virNodeDeviceLookupByWWN
  nodedev: Remove the unused enum
  nodedev: Introduce two new flags for listAll API
  util: Add one helper virReadFCHost to read the value of fc_host entry
  nodedev: Use access instead of stat
  nodedev: Refactor the helpers
  nodedev: Dump max vports and vports in use for HBA's XML
  nodedev: Fix the improper logic when enumerating SRIOV VF
  nodedev: Abstract nodeDeviceVportCreateDelete as util function

 docs/formatnode.html.in                   |   10 +-
 docs/schemas/nodedev.rng                  |    6 +
 include/libvirt/libvirt.h.in              |   25 ++-
 src/conf/node_device_conf.c               |   41 ++++-
 src/conf/node_device_conf.h               |   16 +-
 src/driver.h                              |    6 +
 src/libvirt.c                             |   47 ++++++
 src/libvirt_private.syms                  |    4 +
 src/libvirt_public.syms                   |    1 +
 src/node_device/node_device_driver.c      |  119 ++------------
 src/node_device/node_device_driver.h      |   23 +--
 src/node_device/node_device_hal.c         |   16 ++-
 src/node_device/node_device_linux_sysfs.c |  245 +++++++++-------------------
 src/node_device/node_device_udev.c        |   15 ++-
 src/remote/remote_driver.c                |    1 +
 src/remote/remote_protocol.x              |   13 ++-
 src/remote_protocol-structs               |    9 +
 src/rpc/gendispatch.pl                    |    4 +-
 src/util/virpci.c                         |   36 +++--
 src/util/virutil.c                        |  224 ++++++++++++++++++++++++++
 src/util/virutil.h                        |   19 +++
 tools/virsh-nodedev.c                     |   97 +++++++++---
 tools/virsh.pod                           |   22 ++-
 23 files changed, 626 insertions(+), 373 deletions(-)

https://www.redhat.com/archives/libvir-list/2012-November/msg00826.html

Regards,
Osier




More information about the libvir-list mailing list