[libvirt] [PATCH RFC 00/22] Support for walking backing chains on remote volumes (especially gluster)

Peter Krempa pkrempa at redhat.com
Tue May 6 13:36:49 UTC 2014


This series adds support for waliking (detecting) of backing chain on
remote storage and implements the needed callbacks for the gluster
storage system via native library.

The last patch in the series mocks up path canonicalization on gluster as I'm
working on that but this series is getting tedious to rebase and handle so I'd
like to start reviews.

Peter Krempa (22):
  qemu: Make qemuDomainPrepareDiskChainElement aware of remote storage
  storage: Store gluster volume name separately
  storage: Rework debugging of storage file access through storage
    driver
  conf: Fix domain disk path iterator to work with networked storage
  storage: Add NONE protocol type for network disks
  storage: Add support for access to files using provided uid/gid
  storage: Add storage file API to read file headers
  storage: backend: Add unique id retrieval API
  storage: Add API to check accessibility of storage volumes
  storage: Move virStorageFileGetMetadata to the storage driver
  storage: Determine the local storage type right away
  test: storage: Initialize storage source to correct type
  storage: backend: Add possibility to suppress errors from backend
    lookup
  storage: Switch metadata crawler to use storage driver to get unique
    path
  storage: Switch metadata crawler to use storage driver to read headers
  storage: Switch metadata crawler to use storage driver file access
    check
  storage: Add infrastructure to parse remote network backing names
  storage: Change to new backing store parser
  storage: Traverse backing chains of network disks
  qemu: Add support for networked disks for block pull/block rebase
  qemu: Add support for networked disks for block commit
  [DO NOT APPLY UPSTREAM] storage: gluster: mock up path
    canonicalization

 cfg.mk                                |   2 +-
 src/Makefile.am                       |   2 +
 src/conf/domain_conf.c                |  70 +++-
 src/libvirt_private.syms              |   3 +-
 src/qemu/qemu_command.c               |  21 +-
 src/qemu/qemu_domain.c                |  10 +-
 src/qemu/qemu_driver.c                | 116 +++++--
 src/security/virt-aa-helper.c         |   2 +
 src/storage/storage_backend.c         |  16 +-
 src/storage/storage_backend.h         |  22 +-
 src/storage/storage_backend_fs.c      | 127 +++++++-
 src/storage/storage_backend_gluster.c | 141 ++++++--
 src/storage/storage_driver.c          | 329 ++++++++++++++++++-
 src/storage/storage_driver.h          |  15 +-
 src/util/virstoragefile.c             | 596 +++++++++++++++++++++-------------
 src/util/virstoragefile.h             |  16 +-
 tests/Makefile.am                     |   7 +-
 tests/virstoragetest.c                |  26 +-
 18 files changed, 1162 insertions(+), 359 deletions(-)

-- 
1.9.2




More information about the libvir-list mailing list