File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1450,8 +1450,11 @@ let update_vm ~__context id =
14501450 (fun (_ , state ) ->
14511451 let gm = Db.VM. get_guest_metrics ~__context ~self in
14521452 debug " xenopsd event: Updating VM %s PV drivers detected %b" id state.pv_drivers_detected;
1453- Db.VM_guest_metrics. set_PV_drivers_detected ~__context ~self: gm ~value: state.pv_drivers_detected;
1454- Db.VM_guest_metrics. set_PV_drivers_up_to_date ~__context ~self: gm ~value: state.pv_drivers_detected
1453+ try
1454+ Db.VM_guest_metrics. set_PV_drivers_detected ~__context ~self: gm ~value: state.pv_drivers_detected;
1455+ Db.VM_guest_metrics. set_PV_drivers_up_to_date ~__context ~self: gm ~value: state.pv_drivers_detected
1456+ with e ->
1457+ error " Caught %s: while updating VM %s PV driver detection" (Printexc. to_string e) id
14551458 ) info in
14561459 Opt. iter
14571460 (fun (_ , state ) ->
You can’t perform that action at this time.
0 commit comments