Re: [Xen-devel] [PATCH] xen: fix xen-bus state model to allow frontend re-connection

2019-01-22 Thread Paul Durrant
> -Original Message- > From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: 22 January 2019 14:40 > To: qemu-de...@nongnu.org; xen-devel@lists.xenproject.org > Cc: Paul Durrant ; Stefano Stabellini > ; Anthony Perard > Subject: [PATCH] xen: fix xen-bus state model to allow frontend

[Xen-devel] [PATCH] xen: fix xen-bus state model to allow frontend re-connection

2019-01-22 Thread Paul Durrant
There is a flaw in the xen-bus state model. To allow a frontend to re- connect the backend state of an online XenDevice is transitioned from Closed to InitWait, but this is currently done unilaterally which is incorrect. The backend state should remain Closed until the frontend state transitions to