From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andres Lagar Cavilla Subject: Small migrate.py fix Date: Tue, 07 Feb 2006 12:10:04 -0500 Message-ID: <43E8D46C.9060508@cs.toronto.edu> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010407090809080607010009" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------010407090809080607010009 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------010407090809080607010009 Content-Type: text/x-patch; name="migrate.py.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="migrate.py.patch" *** 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.") --------------010407090809080607010009 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------010407090809080607010009--