mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Fix support for sxp domain configuration files.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
1 parent
f2896ff4cd
commit
ba0f86655c
1 file changed
+3
@@ -905,6 +905,9 @@ def parseCommandLine(argv):
|
||||
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)
|
||||
|
||||
|
||||
|
||||