[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH][Xend] Fix disappearance of managed hvm domains on xend restart



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.

Ewan.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.