diff mbox

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

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

Commit Message

Yolkfull Chow Dec. 4, 2009, 8:48 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..b84943d 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...")