[libvirt] [PATCH 0/5] virstoragefile refactoring, part 3

Eric Blake eblake at redhat.com
Fri Apr 4 04:32:50 UTC 2014


Part 2 gave us a common virStorageSource struct, now it's time
to start using that struct when crawling backing file chains.
I posted some RFCs about my full conversion plan, here's the
patches I have working so far.  Still plenty more to come, but
today's batch of patches took me a lot longer than I had
planned due to having to refactor the testsuite to avoid a
compiler error about over-large stack allocation.

Eric Blake (5):
  tests: use C99 initialization for storage test
  tests: refactor virstoragetest for less stack space
  conf: track when storage type is still undetermined
  conf: track more fields in backing chain metadata
  conf: start testing contents of the new backing chain fields

 src/conf/domain_conf.c    |  10 +-
 src/conf/snapshot_conf.c  |   2 +-
 src/qemu/qemu_command.c   |   1 +
 src/qemu/qemu_driver.c    |  11 +-
 src/util/virstoragefile.c |  33 +++-
 src/util/virstoragefile.h |  43 ++++-
 tests/virstoragetest.c    | 405 ++++++++++++++++++++++++++++++++--------------
 7 files changed, 366 insertions(+), 139 deletions(-)

-- 
1.9.0




More information about the libvir-list mailing list