mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
sparsify: Use cachemode "unsafe" for the overlay disk.
(cherry picked from commitf3a9c9f867) (cherry picked from commit322bf1dd40)
This commit is contained in:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user