[libvirt] [PATCH 0/4] test: Support virStorageFindPoolSources

Cole Robinson crobinso at redhat.com
Fri Oct 16 16:35:10 UTC 2009


The following series refactors the storage pool parsing code to better
facilitate FindPoolSources (both for the test driver, and future pool backend
implementations). The last patch implements a FindPoolSources for the test
driver, with hardcoded results for test:///default.

Thanks,
Cole

Cole Robinson (4):
  storage: Break out pool source parsing to a separate function.
  storage: Break out function to add pool source to a SourceList.
  storage: Add ParseSourceString function for use with FindPoolSources.
  test: Support virStorageFindPoolSources

 src/conf/storage_conf.c               |  259 +++++++++++++++++++++++----------
 src/conf/storage_conf.h               |    7 +
 src/libvirt_private.syms              |    2 +
 src/storage/storage_backend_fs.c      |   65 ++++-----
 src/storage/storage_backend_logical.c |    9 +-
 src/test/test_driver.c                |   75 +++++++++-
 6 files changed, 291 insertions(+), 126 deletions(-)




More information about the libvir-list mailing list