# HG changeset patch # User Jonathan Ludlam # Date 1265215584 0 # Node ID 0d59cd0c7c77da51605a4df1fab8e9ffbd382c36 # Parent e69015351257ae83918722e09d375fc50e063589 CA-37349: Robustify VBD unpause against the device disappearing Signed-off-by: Jon Ludlam diff -r e69015351257 -r 0d59cd0c7c77 ocaml/xapi/xapi_vbd.ml --- a/ocaml/xapi/xapi_vbd.ml Wed Feb 03 15:53:46 2010 +0000 +++ b/ocaml/xapi/xapi_vbd.ml Wed Feb 03 16:46:24 2010 +0000 @@ -417,6 +417,9 @@ | Device.Device_not_paused -> debug "Ignoring Device_not_paused exception"; Opt.iter (device_is_unpaused self) state + | Device.Device_not_found -> + debug "Ignoring Device_not_found exception"; + Opt.iter (device_is_unpaused self) state | Device.Pause_token_mismatch -> warn "Unpause left device paused because supplied token did not match"