The following patches add the ability to format filesystem pools when the appropriate
flags are passed to pool build. As before, I have implemented two new flags:
VIR_STORAGE_POOL_BUILD_NO_OVERWRITE causes the build to probe for an existing pool of the
requested type. The build operation formats the filesystem if it does not find an
existing filesystem of that type.
VIR_STORAGE_POOL_BUILD_OVERWRITE causes the build to format unconditionally.
These patches incorporate all the feedback received on earlier versions. The incremental
is pretty unhelpful, so these are complete replacement patches.
Dave
David Allan (2):
Add mkfs and libblkid to build system v2
Add fs pool formatting v3
configure.ac | 25 +++++
include/libvirt/libvirt.h.in | 6 +-
include/libvirt/virterror.h | 2 +
libvirt.spec.in | 5 +
src/Makefile.am | 4 +
src/libvirt_private.syms | 4 +
src/storage/storage_backend_fs.c | 180 +++++++++++++++++++++++++++++++++++++-
src/storage/storage_backend_fs.h | 9 ++-
src/util/virterror.c | 12 +++
tools/virsh.c | 14 +++-
10 files changed, 254 insertions(+), 7 deletions(-)