[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Remove unused, broken, redundant and undocumented option xm create -L.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 516cf6553011ac4263814c7f7c0cf358f629a906
# Parent  843ced27531af3956189d92b5a591a1690674bee
Remove unused, broken, redundant and undocumented option xm create -L.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 843ced27531a -r 516cf6553011 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py     Fri Mar 17 10:45:46 2006
+++ b/tools/python/xen/xm/create.py     Mon Mar 20 08:56:46 2006
@@ -90,10 +90,6 @@
           SXP is the underlying configuration format used by Xen.
           SXP configurations can be hand-written or generated from Python 
configuration
           scripts, using the -n (dryrun) option to print the configuration.""")
-
-gopts.opt('load', short='L', val='FILE',
-          fn=set_value, default=None,
-          use='Domain saved state to load.')
 
 gopts.opt('dryrun', short='n',
           fn=set_true, default=0,
@@ -819,11 +815,7 @@
     """
 
     try:
-        if opts.vals.load:
-            filename = os.path.abspath(opts.vals.load)
-            dominfo = server.xend_domain_restore(filename, config)
-        else:
-            dominfo = server.xend_domain_create(config)
+        dominfo = server.xend_domain_create(config)
     except XendError, ex:
         import signal
         if vncpid:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.