xen/hvc: handle backend CLOSED without CLOSING
authorDavid Vrabel <david.vrabel@citrix.com>
Fri, 21 Sep 2012 16:04:24 +0000 (17:04 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 4 Oct 2012 15:30:29 +0000 (11:30 -0400)
Backend drivers shouldn't transistion to CLOSED unless the frontend is
CLOSED.  If a backend does transition to CLOSED too soon then the
frontend may not see the CLOSING state and will not properly shutdown.

So, treat an unexpected backend CLOSED state the same as CLOSING.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

No differences found