[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH V5 30/32] libxl: consider force removal of device successful



On Tue, May 20, 2014 at 04:15:45PM +0100, Ian Jackson wrote:
> Wei Liu writes ("[PATCH V5 30/32] libxl: consider force removal of device 
> successful"):
> > The current behavior of libxl to remove a device is, if the backend
> > times out, libxl will initiate a force removal (destroy) of that device.
> > However, libxl still returns failure in that case, even if the force
> > removal was successful.
> > 
> > If a device is force removed and the force removal succeeds, from
> > guest's PoV this device is gone. Libxl should consider this a
> > successful case as well.
> 
> I think that the problem should be reported to the caller somehow.  I
> would invent a new libxl status code.
> 

OK. I will see what I can do. Basically it means a new status code
meaning "libxl is asked to remove that device, but backend times out, so
libxl destroy that device instead".

Wei.

> Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.