From: "Daniel P. Berrange" <berrange(a)redhat.com>
A third version of:
https://www.redhat.com/archives/libvir-list/2013-April/msg01539.html
In v3
- Split patch 3 into 2 pieces
- Added XML formatting tests
- Fixed XML formatting
- Remove !! from vars that are now bools
Daniel P. Berrange (6):
Add support for storage format in FS <driver>
Re-arrange code setting up ifs/disk loop devices for LXC
Fix error handling of readdir() in virFileLoopDeviceOpen
Add a helper API for setting up a NBD device with qemu-nbd
Add 'nbd' as a valid filesystem driver type
Support NBD backed disks/filesystems in LXC driver
docs/formatdomain.html.in | 25 +++++
docs/schemas/domaincommon.rng | 74 +++++++++++----
src/conf/domain_conf.c | 33 +++++--
src/conf/domain_conf.h | 7 +-
src/libvirt_private.syms | 1 +
src/lxc/lxc_controller.c | 152 ++++++++++++++++++++++-------
src/qemu/qemu_command.c | 4 +-
src/util/virfile.c | 153 +++++++++++++++++++++++++++++-
src/util/virfile.h | 6 ++
tests/lxcxml2xmldata/lxc-disk-formats.xml | 31 ++++++
tests/lxcxml2xmltest.c | 1 +
11 files changed, 421 insertions(+), 66 deletions(-)
create mode 100644 tests/lxcxml2xmldata/lxc-disk-formats.xml
--
1.8.2.1