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-04-12 20:19:58 +01:00
2016-01-02 21:19:51 +00:00
2016-07-26 10:43:45 +01:00
2015-11-06 22:24:39 +00:00
2016-01-02 21:19:51 +00:00
2016-07-28 15:30:49 +02:00
2016-05-05 22:56:43 +01:00
2016-07-26 10:43:45 +01:00
2016-07-26 10:43:45 +01:00
2016-05-05 22:38:30 +01:00
2015-10-05 14:28:33 +01:00
2016-07-26 10:43:45 +01:00
2016-07-26 10:43:45 +01:00
2016-04-12 20:19:58 +01:00
2015-10-05 14:28:33 +01:00
2015-09-30 13:32:42 +01:00
2016-07-26 10:43:45 +01:00
2016-02-23 10:55:17 +00:00
2016-07-28 15:30:49 +02:00
2016-07-28 15:53:26 +02:00
2016-07-29 09:09:17 +01:00
2016-04-12 20:19:58 +01:00
2016-07-26 10:43:45 +01:00
2016-01-11 13:42:49 +00:00
2016-07-26 10:43:45 +01:00
2016-07-28 15:53:26 +02:00
2016-07-26 10:43:45 +01:00
2016-07-26 10:43:45 +01:00
2016-07-26 10:43:45 +01:00
2016-07-06 13:05:05 +01:00
2016-05-24 17:54:47 +02:00
2015-09-30 13:32:42 +01:00
2016-05-26 16:30:49 +01:00
2016-08-02 20:33:57 +01:00
2016-04-14 19:42:28 +01:00
2016-03-23 12:57:55 +00:00
2016-07-26 10:43:45 +01:00
2012-04-30 15:08:34 +01:00
2015-11-09 11:38:49 +01:00
2015-11-09 11:38:49 +01:00
2016-04-04 17:57:38 +01:00
2016-07-26 10:43:45 +01:00
2015-10-05 14:28:33 +01:00
2016-06-22 18:43:51 +01:00
2016-07-26 10:43:45 +01:00
2016-07-20 15:26:50 +02:00
2016-03-08 16:25:19 +01:00
2016-07-29 11:36:37 +02:00
2016-01-02 21:19:51 +00:00
2016-07-26 10:43:45 +01:00
2016-07-26 10:43:45 +01:00
2016-05-07 12:40:50 +01:00
2016-05-16 23:18:00 +01:00
2016-06-22 18:43:51 +01:00
2016-05-23 10:12:04 +01:00
2016-05-23 10:30:52 +01:00
2016-07-26 10:43:45 +01:00
2016-07-26 10:43:45 +01:00
2016-07-26 10:43:45 +01:00
2016-05-18 18:08:56 +01:00
2016-05-07 07:38:24 +01:00