File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,12 @@ let vdi_data_destroy dconf driver sr vdi =
220220 let call = Sm_exec. make_call ~sr_ref: sr ~vdi_ref: vdi dconf " vdi_data_destroy" [] in
221221 Sm_exec. parse_unit (Sm_exec. exec_xmlrpc (driver_filename driver) call)
222222
223+ let vdi_export_changed_blocks dconf driver sr ~vdi_from ~vdi_to =
224+ debug " vdi_export_changed_blocks" driver (sprintf " sr=%s vdi_from=%s vdi_to=%s" (Ref. string_of sr) (Ref. string_of vdi_from) (Ref. string_of vdi_to));
225+ srmaster_only dconf;
226+ let call = Sm_exec. make_call ~sr_ref: sr ~vdi_ref: vdi_from dconf " vdi_export_changed_blocks" [ Ref. string_of vdi_to ] in
227+ Sm_exec. parse_string (Sm_exec. exec_xmlrpc (driver_filename driver) call)
228+
223229let session_has_internal_sr_access ~__context ~sr =
224230 let session_id = Context. get_session_id __context in
225231 (* XXX: need to move this somewhere else eventually *)
You can’t perform that action at this time.
0 commit comments