From: Ian Campbell Subject: Re: [PATCH] fix list_domain_details: check config data length=0 Date: Thu, 24 Jul 2014 13:59:34 +0100 Message-ID: <1406206774.9115.2.camel@kazak.uk.xensource.com> References: <1406108529-30602-1-git-send-email-cyliu@suse.com> <1406109196.1351.37.camel@kazak.uk.xensource.com> <53D116E9020000660004BA5E@soto.provo.novell.com> <21457.161.721157.965594@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21457.161.721157.965594@mariner.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: Ian Jackson Cc: stefano.stabellini@eu.citrix.com, Wei Liu , Chun Yan Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-07-24 at 13:48 +0100, Ian Jackson wrote: > Chun Yan Liu writes ("Re: [PATCH] fix list_domain_details: check config data length=0"): > > >>> On 7/23/2014 at 05:53 PM, in message > > <1406109196.1351.37.camel@kazak.uk.xensource.com>, Ian Campbell > > wrote: > > > I think this issue is resolved by Wei's "libxl: synchronise domain > > > configuration" series? That will save state in such a way that xl can > > > list libvirt domains etc. > > > > Yes, right. I missed Wei's patch series. Just have a look at that, this issue > > is solved by that patch series. Thanks Wei and Ian! > > Maybe we should commit Chun's patch to -unstable now so that it can be > tested and backported to earlier trees. I hadn't realised that libxl_userdata_retrieve signals ENOENT via datalen == 0 rather than an error code. So it could certainly be argued that a zero size userdata is something we should handle irrespective of Wei's series, yes. > It looks like a reasonable change to me: > > Acked-by: Ian Jackson > > Ian. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel