sparsify: Use cachemode "unsafe" for the overlay disk.

(cherry picked from commit f3a9c9f867)
(cherry picked from commit 322bf1dd40)
This commit is contained in:
Richard W.M. Jones
2013-08-31 22:47:44 +01:00
parent ac0742b96f
commit d58493e260

View File

@@ -265,7 +265,7 @@ let g =
if verbose then g#set_verbose true;
(* Note that the temporary overlay disk is always qcow2 format. *)
g#add_drive ~format:"qcow2" ~readonly:false overlaydisk;
g#add_drive ~format:"qcow2" ~readonly:false ~cachemode:"unsafe" overlaydisk;
if not quiet then Progress.set_up_progress_bar ~machine_readable g;
g#launch ();