Skip to content

Commit 0bec45b

Browse files
authored
Merge pull request #285 from jonludlam/CA-219763
CA-219763: If the PV drivers have been detected, raise an update
2 parents 02a8cd2 + 34e6eed commit 0bec45b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xc/xenops_server_xen.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2648,7 +2648,8 @@ module Actions = struct
26482648
if value = "4" (* connected *) then begin
26492649
let non_persistent = { non_persistent with VmExtra.pv_drivers_detected = true } in
26502650
debug "VM = %s; found PV driver evidence on %s (value = %s)" vm path value;
2651-
DB.write vm { VmExtra.persistent; non_persistent }
2651+
DB.write vm { VmExtra.persistent; non_persistent };
2652+
Updates.add (Dynamic.Vm vm) internal_updates
26522653
end
26532654
with Xs_protocol.Enoent _ ->
26542655
warn "Watch event on %s fired but couldn't read from it" path;

0 commit comments

Comments
 (0)