Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions ocaml/xapi/message_forwarding.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3111,14 +3111,16 @@ functor
Xapi_vm_lifecycle.update_allowed_operations ~__context ~self

let add_to_blocked_operations ~__context ~self ~key ~value =
info "VM.add_to_blocked_operations: self = '%s'"
(vm_uuid ~__context self) ;
info "VM.add_to_blocked_operations: self = '%s', key = '%s'"
(vm_uuid ~__context self)
(API.vm_operations_to_string key) ;
Local.VM.add_to_blocked_operations ~__context ~self ~key ~value ;
Xapi_vm_lifecycle.update_allowed_operations ~__context ~self

let remove_from_blocked_operations ~__context ~self ~key =
info "VM.remove_from_blocked_operations: self = '%s'"
(vm_uuid ~__context self) ;
info "VM.remove_from_blocked_operations: self = '%s', key = '%s'"
(vm_uuid ~__context self)
(API.vm_operations_to_string key) ;
Local.VM.remove_from_blocked_operations ~__context ~self ~key ;
Xapi_vm_lifecycle.update_allowed_operations ~__context ~self

Expand Down
Loading