[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix support for sxp domain configuration files.
# HG changeset patch # User cl349@xxxxxxxxxxxxxxxxxxxx # Node ID 04a7decd0645b23f1f398340e927eb191f0e754d # Parent 94d39d9acc8e900b533fca96b38702eb8a8bc279 Fix support for sxp domain configuration files. Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx> diff -r 94d39d9acc8e -r 04a7decd0645 tools/python/xen/xm/create.py --- a/tools/python/xen/xm/create.py Fri Nov 18 18:56:03 2005 +++ b/tools/python/xen/xm/create.py Sat Nov 19 00:59:43 2005 @@ -905,6 +905,9 @@ opts.setopt('name', os.path.basename(opts.getopt('defconfig'))) config = make_config(opts.vals) + if type(config) == str: + config = sxp.parse(file(config))[0] + return (opts, config) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |