Current backend will crash (taking out the VM) if any attempt is
made to reconnect to a backend that has transitioned to the
Closed state. Forces the frontend offline, which will fail the
frontend state transitions, and its initiating IRP.
Signed-off-by: Owen Smith <owen.smith@citrix.com>
case XenbusStateClosed:
FrontendSetXenbusState(Frontend,
XenbusStateClosed);
+ // There is currently a bug in the backend.
+ // Once the backend reaches Closed, it will crash the
+ // frontend attempts to make any state transition.
+ // Avoid the bug by forcing the frontend offline and
+ // failing FrontendPrepare
+ FrontendSetOffline(Frontend);
break;
default:
FrontendSetXenbusState(Frontend,