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] xm, xend: A few fixes for changeset 20314

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xm, xend: A few fixes for changeset 20314
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 16 Oct 2009 01:10:17 -0700
Delivery-date: Fri, 16 Oct 2009 01:11:32 -0700
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 1255678354 -3600
# Node ID 1ab8978d687ffdcfe99078711c2403265a2499b6
# Parent  a20335046ab8ec2c0fbda50d6724e27f18e89dc4
xm,xend: A few fixes for changeset 20314

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendAPI.py          |    3 ++-
 tools/python/xen/xend/server/SrvDomain.py |    3 ++-
 tools/python/xen/xm/migrate.py            |    3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff -r a20335046ab8 -r 1ab8978d687f tools/python/xen/xend/XendAPI.py
--- a/tools/python/xen/xend/XendAPI.py  Fri Oct 16 08:31:39 2009 +0100
+++ b/tools/python/xen/xend/XendAPI.py  Fri Oct 16 08:32:34 2009 +0100
@@ -1902,9 +1902,10 @@ class XendAPI(object):
         port = other_config.get("port", 0)
         node = other_config.get("node", -1)
         ssl = other_config.get("ssl", None)
+        chs = other_config.get("change_home_server", False)
         
         xendom.domain_migrate(xeninfo.getDomid(), destination_url,
-                              bool(live), port, node, ssl)
+                              bool(live), port, node, ssl, bool(chs))
         return xen_api_success_void()
 
     def VM_save(self, _, vm_ref, dest, checkpoint):
diff -r a20335046ab8 -r 1ab8978d687f tools/python/xen/xend/server/SrvDomain.py
--- a/tools/python/xen/xend/server/SrvDomain.py Fri Oct 16 08:31:39 2009 +0100
+++ b/tools/python/xen/xend/server/SrvDomain.py Fri Oct 16 08:32:34 2009 +0100
@@ -118,7 +118,8 @@ class SrvDomain(SrvDir):
                      ['live',        'int'],
                      ['port',        'int'],
                      ['node',        'int'],
-                     ['ssl',         'int']])
+                     ['ssl',         'int'],
+                     ['change_home_server', 'bool']])
         return fn(req.args, {'dom': self.dom.domid})
 
     def op_pincpu(self, _, req):
diff -r a20335046ab8 -r 1ab8978d687f tools/python/xen/xm/migrate.py
--- a/tools/python/xen/xm/migrate.py    Fri Oct 16 08:31:39 2009 +0100
+++ b/tools/python/xen/xm/migrate.py    Fri Oct 16 08:32:34 2009 +0100
@@ -74,7 +74,8 @@ def main(argv):
         other_config = {
             "port":     opts.vals.port,
             "node":     opts.vals.node,
-            "ssl":      opts.vals.ssl
+            "ssl":      opts.vals.ssl,
+            "change_home_server": opts.vals.change_home_server
             }
         server.xenapi.VM.migrate(vm_ref, dst, bool(opts.vals.live),
                                  other_config)

_______________________________________________
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] xm, xend: A few fixes for changeset 20314, Xen patchbot-unstable <=