[libvirt] [PATCH v2 0/9] Additional host name check for network storage pools

John Ferlan jferlan at redhat.com
Thu Apr 23 20:12:08 UTC 2015


v1 here:
http://www.redhat.com/archives/libvir-list/2015-April/msg00873.html

Essentially a rewrite of v1 changing to use virsocketaddr.* rather than
virutil.*

Also making check for hostname duplication prior to startPool rather
than during XML processing

John Ferlan (9):
  socketaddr: Add isNumeric flag to virSocketAddrParseInternal
  socketaddr: Introduce virSocketAddrParseName
  iscsi: Check for validity of pool source hostname
  netfs: Check for validity of pool source hostname
  gluster: Check for validity of pool source hostname
  sheepdog: Check for validity of pool source hostname
  virsockaddr: Split up functionality of virSocketAddrFormatFull
  virsocketaddr: Introduce virSocketAddrIsSameTCPHost
  storage: Check for duplicate resolved host name at pool create

 src/conf/storage_conf.c                |  80 ++++++++++++++-
 src/conf/storage_conf.h                |   6 +-
 src/libvirt_private.syms               |   3 +
 src/storage/storage_backend_fs.c       |   5 +-
 src/storage/storage_backend_gluster.c  |   6 +-
 src/storage/storage_backend_iscsi.c    |   6 +-
 src/storage/storage_backend_sheepdog.c |  38 ++++---
 src/storage/storage_driver.c           |   9 +-
 src/util/virsocketaddr.c               | 180 ++++++++++++++++++++++++++++-----
 src/util/virsocketaddr.h               |   9 +-
 10 files changed, 295 insertions(+), 47 deletions(-)

-- 
2.1.0




More information about the libvir-list mailing list