Jim Fehlig
2007-Mar-14 00:24 UTC
[Xen-devel] [PATCH][Xend] Fix disappearance of managed hvm domains on xend restart
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.
Regards,
Jim
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel