[libvirt] [PATCH] storage: Adjust qemu-img switches check
John Ferlan
jferlan at redhat.com
Fri Jun 3 10:39:02 UTC 2016
On 05/31/2016 07:00 PM, John Ferlan wrote:
> Since we support QEMU 0.12 and later, checking for support of specific flags
> added prior to that isn't necessary.
>
> Thus start with the base of having the "-o options" available for the
> qemu-img create option and then determine whether we have the compat
> option for qcow2 files (which would be necessary up through qemu 2.0
> where the default changes to compat 0.11).
>
> NOTE: Keeping old tests around since it's still possible to create in
> the old format.
>
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
> src/storage/storage_backend.c | 66 ++++++++++++++++---------------------------
> 1 file changed, 24 insertions(+), 42 deletions(-)
>
Going to post an update shortly in the form of a new series - so drop
this ...
John
More information about the libvir-list
mailing list