On Tuesday, 12 September 2017 14:29:16 CEST Richard W.M. Jones wrote:
@@ -255,11 +256,13 @@ add_drive_standard_params (guestfs_h *g, struct
backend_direct_data *data,
}
else {
/* Writable qcow2 overlay on top of read-only drive. */
- append_list_format ("file=%s", drv->overlay);
+ append_list_format ("file.file.filename=%s", drv->overlay);
+ append_list ("file.driver=qcow2");
append_list ("cache=unsafe");
- append_list ("format=qcow2");
if (drv->disk_label)
append_list_format ("serial=%s", drv->disk_label);
+ if (data->qemu_mandatory_locking)
+ append_list ("file.backing.file.locking=off");
}
The same ought to be done for the appliance drive too.
--
Pino Toscano