Skip to content

Commit fb9449b

Browse files
committed
CA-96893: VM.remove now also removes the VmExtra persistent data.
Signed-off-by: John Else <[email protected]>
1 parent 08ec2f1 commit fb9449b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ocaml/xenops/xenops_server_xen.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,8 @@ module VM = struct
791791
(fun xc xs ->
792792
safe_rm xs (Printf.sprintf "/vm/%s" vm.Vm.id);
793793
safe_rm xs (Printf.sprintf "/vss/%s" vm.Vm.id);
794-
)
794+
);
795+
DB.remove vm.Vm.id
795796

796797
let log_exn_continue msg f x = try f x with e -> debug "Safely ignoring exception: %s while %s" (Printexc.to_string e) msg
797798

0 commit comments

Comments
 (0)