Skip to content

Commit

Permalink
Merge pull request #280 from robhoes/ca217921
Browse files Browse the repository at this point in the history
CA-217921: VBD.unplug must destroy the datapath if a VBD was already shut down
  • Loading branch information
kc284 committed Aug 12, 2016
2 parents 1c7567d + 43baf4f commit 77858de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xc/xenops_server_xen.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2085,7 +2085,9 @@ module VBD = struct
)
(fun () ->
match domid, backend with
| Some x, Some (VDI _) -> Storage.dp_destroy task (Storage.id_of (string_of_int x) vbd.Vbd.id)
| Some x, None
| Some x, Some (VDI _)
-> Storage.dp_destroy task (Storage.id_of (string_of_int x) vbd.Vbd.id)
| _ -> ()
)
with
Expand Down

0 comments on commit 77858de

Please sign in to comment.