From: Ian Jackson Subject: Re: [PATCH] xl: print sxp on dry-run of create Date: Thu, 2 Jun 2011 17:36:07 +0100 Message-ID: <19943.48119.431381.855136@mariner.uk.xensource.com> References: <064a0d9f710a183928df.1306932708@cosworth.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <064a0d9f710a183928df.1306932708@cosworth.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[Xen-devel] [PATCH] xl: print sxp on dry-run of create"): > xl: print sxp on dry-run of create. Right. I think xl restore should get a dry run option too. > The help text for xm create's --dry-run says "Dry run - prints the > resulting configuration in SXP but does not create the domain." so > update xl implementation to match. At least the xendomains initscript > relies on this (for better or worse). Presumably it wants to know the domain name which would be created, because that's not necessarily related to the name of the config file. > Signed-off-by: Ian Campbell > Tested-by: Carsten Schiers Acked-by: Ian Jackson Committed-by: Ian Jackson