Files
libguestfs/src
Richard W.M. Jones c8c181e8d9 launch: libvirt: Autodetect backing format for readonly drive overlays (RHBZ#1354335).
If the user doesn't specify a format (ie. they want autodetection),
and the drive is set to read-only, previously we created a qcow2
overlay to protect the drive but didn't set the backing_fmt field.
However libvirt disabled this so now libvirt doesn't work at all on
qcow2 files that have no backing_fmt field set.

We must therefore do autodetection in libguestfs and use that to set
the backing_fmt field.

We were already doing autodetection in the non-readonly case, so this
commit refactors that code into a new function
("get_source_format_or_autodetect") and uses it on the readonly path
too.
2016-08-02 20:33:57 +01:00
..
2016-01-02 21:19:51 +00:00
2015-10-05 14:28:33 +01:00
2015-10-05 14:28:33 +01:00
2015-09-30 13:32:42 +01:00
2016-01-11 13:42:49 +00:00
2015-09-30 13:32:42 +01:00
2015-10-05 14:28:33 +01:00
2016-06-22 18:43:51 +01:00
2016-07-20 15:26:50 +02:00
2016-06-22 18:43:51 +01:00