Signed-off-by: Andrei Lifchits <andrei.lifchits@citrix.com>
Signed-off-by: Julian Chesterfield <julian.chesterfield@citrix.com>
(* While we don't have blkback support for pause/unpause we only do this
for .vhd-based backends. *)
- let vdi_info =
- if Xen_helpers.kind_of_vdi ~__context ~self:vdi = Device_common.Tap then
- Sm.with_all_vbds_paused ~__context ~vdis:[vdi] call_snapshot
- else
- call_snapshot () in
-
+ let vdi_info = call_snapshot () in
let uuid = require_uuid vdi_info in
let newvdi = Db.VDI.get_by_uuid ~__context ~uuid in