[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Small migrate.py fix



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.