From: Ian Jackson Subject: Re: [PATCH V5 30/32] libxl: consider force removal of device successful Date: Tue, 20 May 2014 16:15:45 +0100 Message-ID: <21371.29089.881960.874446@mariner.uk.xensource.com> References: <1400018054-26038-1-git-send-email-wei.liu2@citrix.com> <1400018054-26038-31-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1400018054-26038-31-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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. Ian.