diff mbox

[AUTOTEST,2/2] KVM test: subtest migration: Add rem_host and rem_port for migrate()

Message ID 1260266457-15061-2-git-send-email-yzhou@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Yolkfull Chow Dec. 8, 2009, 10 a.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/tests/migration.py b/client/tests/kvm/tests/migration.py
index b8f171c..3c983bc 100644
--- a/client/tests/kvm/tests/migration.py
+++ b/client/tests/kvm/tests/migration.py
@@ -43,7 +43,8 @@  def run_migration(test, params, env):
         session2.close()
 
         # Migrate the VM
-        dest_vm = kvm_test_utils.migrate(vm, env)
+        dest_vm = kvm_test_utils.migrate(vm, "localhost",
+                                         dest_vm.migration_port, env)
 
         # Log into the guest again
         logging.info("Logging into guest after migration...")