[Libvirt-cim] [PATCH] Enable KVM migration migration support in the migration_tester.py tool

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Feb 4 16:35:13 UTC 2009


# HG changeset patch
# User Kaitlin Rupert <karupert at us.ibm.com>
# Date 1233765304 28800
# Node ID 1f683477de1b1ba4bab65011aaee78b23d0778a5
# Parent  61209742da1d511a4b453d38432c2eeb35639a83
Enable KVM migration migration support in the migration_tester.py tool.

Also advertise the "other" migration type in the option parser.

Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>

diff -r 61209742da1d -r 1f683477de1b tools/migration_tester.py
--- a/tools/migration_tester.py	Tue Jan 20 22:27:01 2009 -0800
+++ b/tools/migration_tester.py	Wed Feb 04 08:35:04 2009 -0800
@@ -249,7 +249,7 @@
     parser.add_option("-v", "--virt-type", dest="virt", default=None,
                       help="Virtualization type [ Xen | KVM ]")
     parser.add_option("--migration-type", dest="type", default=None,
-                      help="Migration type: [ live | resume | restart ]")
+                      help="Migration type:[ live | resume | restart | other ]")
     parser.add_option("--disable-check", dest="disable_ck", action="store_true",
                       help="Disable migration pre-check")
 
@@ -282,10 +282,6 @@
         print "Must specify virtualization type"
         return 1
 
-    if options.virt != "Xen":
-        print "Only Xen migration is currently supported"
-        return 1
-
     if options.type != None:
         msd = get_msd(options.type, options.virt)
         if msd == None:




More information about the Libvirt-cim mailing list