[PATCH 0/5] virstoragefile refactoring, part 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]