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-devel

[Xen-devel] Small migrate.py fix

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Small migrate.py fix
From: Andres Lagar Cavilla <andreslc@xxxxxxxxxxxxxx>
Date: Tue, 07 Feb 2006 12:10:04 -0500
Delivery-date: Tue, 07 Feb 2006 17:23:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E1EyHdW-0005Og-S2@host-192-168-0-1-bcn-london>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <E1EyHdW-0005Og-S2@host-192-168-0-1-bcn-london>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929)
Hey, just stumbled upon this
Last pulled xen 3.0.1-testing.hg on Feb 1, and tools/python/xen/xm/Migrate.py is unable to parse a '--port' argument passed when attempting migration. The fix is trivial and the patch attached
Andres
*** migrate.py  2006-02-01 10:06:40.000000000 -0500
--- /usr/lib/python/xen/xm/migrate.py   2006-02-06 14:57:45.000000000 -0500
***************
*** 38,44 ****
            fn=set_true, default=0,
            use="Use live migration.")
  
! gopts.opt('port', short='p',
            fn=set_int, default=0,
            use="Use specified port for migration.")
  
--- 38,44 ----
            fn=set_true, default=0,
            use="Use live migration.")
  
! gopts.opt('port', short='p', val='portnum',
            fn=set_int, default=0,
            use="Use specified port for migration.")
  
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>