Re: [Xen-devel] xl dev-detach hangs with missing frontends

2016-02-12 Thread Wei Liu
On Fri, Feb 12, 2016 at 03:53:06PM +0100, Olaf Hering wrote: > On Fri, Feb 12, Wei Liu wrote: > > > CC'ing other tools maintainer. > > > > On Thu, Feb 11, 2016 at 11:37:49AM +0100, Olaf Hering wrote: > > > How should libxl__initiate_device_generic_remove deal with devices which > > > > I think y

Re: [Xen-devel] xl dev-detach hangs with missing frontends

2016-02-12 Thread Olaf Hering
On Fri, Feb 12, Wei Liu wrote: > CC'ing other tools maintainer. > > On Thu, Feb 11, 2016 at 11:37:49AM +0100, Olaf Hering wrote: > > How should libxl__initiate_device_generic_remove deal with devices which > > I think you meant libxl__initiate_device_remove. There is no function > called libxl__

Re: [Xen-devel] xl dev-detach hangs with missing frontends

2016-02-12 Thread Wei Liu
CC'ing other tools maintainer. On Thu, Feb 11, 2016 at 11:37:49AM +0100, Olaf Hering wrote: > How should libxl__initiate_device_generic_remove deal with devices which I think you meant libxl__initiate_device_remove. There is no function called libxl__initiate_device_generic _remove. > have no fr

[Xen-devel] xl dev-detach hangs with missing frontends

2016-02-11 Thread Olaf Hering
How should libxl__initiate_device_generic_remove deal with devices which have no frontend driver? Right now it moves "state" from either XenbusStateInitialising or XenbusStateInitWait to XenbusStateClosing. Then it expects the backend to move "state" to XenbusStateClosed. This will never happen, at