direct-io.hg
changeset 1904:61e2ad7d06bd
bitkeeper revision 1.1108.14.5 (4104fc948WTpeJe1QshhylA41dUENA)
Fix xm path to create domain directly from a config.
Fix xm path to create domain directly from a config.
author | mjw@wray-m-3.hpl.hp.com |
---|---|
date | Mon Jul 26 12:44:04 2004 +0000 (2004-07-26) |
parents | c7070f594aa2 |
children | e59c333c2ba0 4068e3051909 |
files | tools/python/xen/xm/create.py |
line diff
1.1 --- a/tools/python/xen/xm/create.py Mon Jul 26 12:27:35 2004 +0000 1.2 +++ b/tools/python/xen/xm/create.py Mon Jul 26 12:44:04 2004 +0000 1.3 @@ -431,11 +431,11 @@ def main(argv): 1.4 (var, val) = arg.strip().split('=', 1) 1.5 gopts.setvar(var.strip(), val.strip()) 1.6 if opts.vals.config: 1.7 - pass 1.8 + config = opts.vals.config 1.9 else: 1.10 opts.load_defaults() 1.11 - preprocess(opts, opts.vals) 1.12 - config = make_config(opts.vals) 1.13 + preprocess(opts, opts.vals) 1.14 + config = make_config(opts.vals) 1.15 if opts.vals.dryrun: 1.16 PrettyPrint.prettyprint(config) 1.17 else: