This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH][Xend] Fix disappearance of managed hvm domains o

To: Jim Fehlig <jfehlig@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][Xend] Fix disappearance of managed hvm domains on xend restart
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Thu, 29 Mar 2007 23:47:15 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 29 Mar 2007 23:48:25 +0100
Envelope-to: Keir.Fraser@xxxxxxxxxxxx
In-reply-to: <45F740D5.8090708@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <45F740D5.8090708@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Mar 13, 2007 at 06:24:53PM -0600, Jim Fehlig wrote:

> With c/s 14341, I noticed that managed HVM domains are not displayed by
> 'xm list' after restarting xend.  When restarting xend and consequently
> reading the managed domain config files, parsing fails on HVM domains
> due to empty config items in the sexpr.  So for example 'xm new
> hvm_config_file' results in the following snippet from
> /var/lib/xend/domains/<uuid>/config.sxp:
>    (platform
>         ((fda )
>             (vncunused 1)
>             (fdb )
> When xend is restarted and the various config files read/parsed, it
> cannot cope with the config items containing no values (e.g. fda or fdb
> above).
> This patch prevents writing the config items when their values are
> empty.  Perhaps there is a more appropriate fix but this patch corrects
> the described behavior.

Applied, thank you, and sorry for the delay.


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>