From: Ian Campbell Subject: Re: [PATCH V5 32/32] libxl: synchronize configuration when we plug / unplug device Date: Mon, 2 Jun 2014 17:33:18 +0100 Message-ID: <1401726798.8841.24.camel@kazak.uk.xensource.com> References: <1400018054-26038-1-git-send-email-wei.liu2@citrix.com> <1400018054-26038-33-git-send-email-wei.liu2@citrix.com> <21371.30169.2338.357028@mariner.uk.xensource.com> <20140601205729.GF28279@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140601205729.GF28279@zion.uk.xensource.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 Jackson , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Sun, 2014-06-01 at 21:57 +0100, Wei Liu wrote: > > Then you could arrange to add the device to the JSON config before > > doing anything else, and remove it afterwards, and then there would be > > no undesirable states etc. > > > > Sorry, it's unclear to me what you want me to do. Why do I need to > remove a device after I add it? FWIW I read it as having a missing "on failure" somewhere. Ian.