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] [xen-unstable] Remove unimplemented xm migrate --resourc

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Remove unimplemented xm migrate --resource option.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 01 May 2008 08:50:08 -0700
Delivery-date: Thu, 01 May 2008 09:03:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1209656149 -3600
# Node ID 706395167701dcb00e54d4739a163de944d70376
# Parent  84a066b9e57ae6c8885dc563141cd0a843ef571e
Remove unimplemented xm migrate --resource option.

Signed-off-by: Gary Pennington <gary.pennington@xxxxxxx>
---
 tools/python/xen/xend/XendDomain.py       |    3 +--
 tools/python/xen/xend/server/SrvDomain.py |    1 -
 tools/python/xen/xm/migrate.py            |    6 ------
 3 files changed, 1 insertion(+), 9 deletions(-)

diff -r 84a066b9e57a -r 706395167701 tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py       Thu May 01 16:35:28 2008 +0100
+++ b/tools/python/xen/xend/XendDomain.py       Thu May 01 16:35:49 2008 +0100
@@ -1258,7 +1258,7 @@ class XendDomain:
 
         return val       
 
-    def domain_migrate(self, domid, dst, live=False, resource=0, port=0, 
node=-1):
+    def domain_migrate(self, domid, dst, live=False, port=0, node=-1):
         """Start domain migration.
         
         @param domid: Domain ID or Name
@@ -1269,7 +1269,6 @@ class XendDomain:
         @type port: int        
         @keyword live: Live migration
         @type live: bool
-        @keyword resource: not used??
         @rtype: None
         @keyword node: use node number for target
         @rtype: int 
diff -r 84a066b9e57a -r 706395167701 tools/python/xen/xend/server/SrvDomain.py
--- a/tools/python/xen/xend/server/SrvDomain.py Thu May 01 16:35:28 2008 +0100
+++ b/tools/python/xen/xend/server/SrvDomain.py Thu May 01 16:35:49 2008 +0100
@@ -115,7 +115,6 @@ class SrvDomain(SrvDir):
                     [['dom',         'int'],
                      ['destination', 'str'],
                      ['live',        'int'],
-                     ['resource',    'int'],
                      ['port',        'int']])
         return fn(req.args, {'dom': self.dom.domid})
 
diff -r 84a066b9e57a -r 706395167701 tools/python/xen/xm/migrate.py
--- a/tools/python/xen/xm/migrate.py    Thu May 01 16:35:28 2008 +0100
+++ b/tools/python/xen/xm/migrate.py    Thu May 01 16:35:49 2008 +0100
@@ -47,10 +47,6 @@ gopts.opt('node', short='n', val='nodenu
           fn=set_int, default=-1,
           use="Use specified NUMA node on target.")
 
-gopts.opt('resource', short='r', val='MBIT',
-          fn=set_int, default=0,
-          use="Set level of resource usage for migration.")
-
 def help():
     return str(gopts)
     
@@ -69,13 +65,11 @@ def main(argv):
         vm_ref = get_single_vm(dom)
         other_config = {
             "port":     opts.vals.port,
-            "resource": opts.vals.resource,
             "node":     opts.vals.node
             }
         server.xenapi.VM.migrate(vm_ref, dst, bool(opts.vals.live),
                                  other_config)
     else:
         server.xend.domain.migrate(dom, dst, opts.vals.live,
-                                   opts.vals.resource,
                                    opts.vals.port,
                                    opts.vals.node)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Remove unimplemented xm migrate --resource option., Xen patchbot-unstable <=