From: Ian Campbell Subject: Re: HVMs terminating as (null) Date: Mon, 25 Nov 2013 11:08:39 +0000 Message-ID: <1385377719.22002.24.camel@kazak.uk.xensource.com> References: <5290D480.1000804@crc.id.au> <5290D563.6010504@citrix.com> <853140082.20131123173829@eikelenboom.it> <1385375765.22002.15.camel@kazak.uk.xensource.com> <1234690497.20131125115007@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1234690497.20131125115007@eikelenboom.it> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Sander Eikelenboom Cc: Andrew Cooper , xen-devel@lists.xensource.com, Steven Haigh List-Id: xen-devel@lists.xenproject.org On Mon, 2013-11-25 at 11:50 +0100, Sander Eikelenboom wrote: > Monday, November 25, 2013, 11:36:05 AM, you wrote: > > > On Sat, 2013-11-23 at 17:38 +0100, Sander Eikelenboom wrote: > >> Would it be possible to leave the domainname to something else as "(null)" when such a state occurs, > >> the xendomains script f.e. seems to interpret this literally and bails out without shutting down > >> any other domains. > > > I guess it should be a one liner, so please submit a patch. Not sure > > what alternative string should be used, since you would want to avoid > > clashing with any potential real domain's name. > > I didn't immediately spot the place where it was set to "null". I think it is what you get from "printf("%s", NULL)" with glibc. > Perhaps the toolscripts should just uses the domain-id numbers instead > of names for anything except printk's and echoing to the user ? "xl list" is the latter. You could perhaps add an option to print the numeric domid instead (-n is commonly used for this I think) and use that option in xendomains script? Ian.