[PATCH] kvm-autotest: Allow migration of multiple machines.

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

 



Change migration_multi_host test to migrate all vms on same time.

https://github.com/autotest/autotest/pull/270

Signed-off-by: Jiří Župka <jzupka@xxxxxxxxxx>
---
 client/tests/kvm/tests/migration_multi_host.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/client/tests/kvm/tests/migration_multi_host.py b/client/tests/kvm/tests/migration_multi_host.py
index fe6e29a..2dcb098 100644
--- a/client/tests/kvm/tests/migration_multi_host.py
+++ b/client/tests/kvm/tests/migration_multi_host.py
@@ -19,8 +19,9 @@ def run_migration_multi_host(test, params, env):
         def migration_scenario(self):
             srchost = self.params.get("hosts")[0]
             dsthost = self.params.get("hosts")[1]
+            vms = params.get("vms").split()
 
-            self.migrate_wait(["vm1"], srchost, dsthost)
+            self.migrate_wait(vms, srchost, dsthost)
 
     mig = TestMultihostMigration(test, params, env)
     mig.run()
-- 
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux