[libvirt] [PATCH 0/4 v3] New API virNodeDeviceLookupSCSIHostByWWN

Osier Yang jyang at redhat.com
Mon Jan 14 03:09:02 UTC 2013


For easy reviewing, this is splitted from [1].

v2 - v3:
  * Validate the specified wwnn,wwpn pair before applying it
    to the new API in virsh-nodedev.c

v1 - v2:
  * Per Daniel's suggestion, change the API name from
    virNodeDeviceLookupByWWN into
    virNodeDeviceLookupSCSIHostByWWN.

Osier Yang (4):
  Introduce API virNodeDeviceLookupSCSIHostByWWN
  remote: Wire up the remote protocol
  nodedev: Implement virNodeDeviceLookupSCSIHostByWWN
  virsh: Use virNodeDeviceLookupSCSIHostByWWN

 include/libvirt/libvirt.h.in         |    5 ++
 src/driver.h                         |    6 ++
 src/libvirt.c                        |   46 ++++++++++++++++
 src/libvirt_public.syms              |    1 +
 src/node_device/node_device_driver.c |   13 +++--
 src/node_device/node_device_driver.h |    4 ++
 src/node_device/node_device_hal.c    |    1 +
 src/node_device/node_device_udev.c   |    1 +
 src/remote/remote_driver.c           |    1 +
 src/remote/remote_protocol.x         |   13 ++++-
 src/remote_protocol-structs          |    9 +++
 src/rpc/gendispatch.pl               |    5 ++-
 tools/virsh-nodedev.c                |   97 ++++++++++++++++++++++++++--------
 tools/virsh.pod                      |   15 +++--
 14 files changed, 181 insertions(+), 36 deletions(-)

[1] https://www.redhat.com/archives/libvir-list/2013-January/msg00328.html

Regards,
Osier




More information about the libvir-list mailing list