From: Ian Campbell Subject: Re: [PATCH] xl: skip zero-size config data in list_domains_details Date: Thu, 31 Oct 2013 20:56:28 +0000 Message-ID: <1383252988.5436.138.camel@dagon.hellion.org.uk> References: <1382369105-32015-1-git-send-email-wei.liu2@citrix.com> <21094.17036.22106.200518@mariner.uk.xensource.com> <20131022092739.GA14343@zion.uk.xensource.com> <21094.40745.754203.842615@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21094.40745.754203.842615@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: Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, 2013-10-22 at 16:52 +0100, Ian Jackson wrote: > Wei Liu writes ("Re: [PATCH] xl: skip zero-size config data in list_domains_details"): > > When Xen cannot clean up a domain after its death, it remains visible in > > Xen in -p-sd state. Xl list -l will still try to retrieve the config > > file, which has been deleted at that time. > ... > > Yes, this leads to 'Domain name must be specified' because the config > > data is NULL, aborting 'xl list -l'. > > Aha. Right. I have just looked at the context (primarily, 8cde53d0) > and you're entirely right with this change. > > Acked-by: Ian Jackson I think I saw a conversation this morning where you decided you had been mistaken somewhere, I think here (IIRC the suggestions was that xl list and xl list -l should contain the same set of domains). For the avoidance of confusion perhaps you should apply this and/or whatever other patch was under discussion... Ian.