We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd16f0b + c9ecbc6 commit f1a8502Copy full SHA for f1a8502
ocaml/xapi/xapi_xenops.ml
@@ -1029,7 +1029,8 @@ let update_vm ~__context id =
1029
Opt.iter
1030
(fun (_, state) ->
1031
debug "xenopsd event: Updating VM %s shadow_multiplier <- %.2f" id state.shadow_multiplier_target;
1032
- Db.VM.set_HVM_shadow_multiplier ~__context ~self ~value:state.shadow_multiplier_target
+ if state.power_state <> Halted then
1033
+ Db.VM.set_HVM_shadow_multiplier ~__context ~self ~value:state.shadow_multiplier_target
1034
) info
1035
with e ->
1036
error "Caught %s: while updating VM %s HVM_shadow_multiplier" (Printexc.to_string e) id
0 commit comments