WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Remove unused, broken, redundant and undocumented option

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Remove unused, broken, redundant and undocumented option xm create -L.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Mar 2006 10:02:07 +0000
Delivery-date: Mon, 20 Mar 2006 10:03:26 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Remove unused, broken, redundant and undocumented option xm create -L., Xen patchbot -unstable <=