direct-io.hg

changeset 9326:516cf6553011

Remove unused, broken, redundant and undocumented option xm create -L.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Mon Mar 20 09:56:46 2006 +0100 (2006-03-20)
parents 843ced27531a
children cf89e8f0831b
files tools/python/xen/xm/create.py
line diff
     1.1 --- a/tools/python/xen/xm/create.py	Fri Mar 17 11:45:46 2006 +0100
     1.2 +++ b/tools/python/xen/xm/create.py	Mon Mar 20 09:56:46 2006 +0100
     1.3 @@ -91,10 +91,6 @@ gopts.opt('config', short='F', val='FILE
     1.4            SXP configurations can be hand-written or generated from Python configuration
     1.5            scripts, using the -n (dryrun) option to print the configuration.""")
     1.6  
     1.7 -gopts.opt('load', short='L', val='FILE',
     1.8 -          fn=set_value, default=None,
     1.9 -          use='Domain saved state to load.')
    1.10 -
    1.11  gopts.opt('dryrun', short='n',
    1.12            fn=set_true, default=0,
    1.13            use="""Dry run - print the configuration but don't create the domain.
    1.14 @@ -819,11 +815,7 @@ def make_domain(opts, config):
    1.15      """
    1.16  
    1.17      try:
    1.18 -        if opts.vals.load:
    1.19 -            filename = os.path.abspath(opts.vals.load)
    1.20 -            dominfo = server.xend_domain_restore(filename, config)
    1.21 -        else:
    1.22 -            dominfo = server.xend_domain_create(config)
    1.23 +        dominfo = server.xend_domain_create(config)
    1.24      except XendError, ex:
    1.25          import signal
    1.26          if vncpid: