qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH for-3.0 4/7] iotests: 169: actually test block migra


From: John Snow
Subject: [Qemu-devel] [PATCH for-3.0 4/7] iotests: 169: actually test block migration
Date: Mon, 23 Jul 2018 18:22:07 -0400

Presently, we emulate a block migration by just using a different
target file. Update the test to actually request a block migration.

Signed-off-by: John Snow <address@hidden>
---
 tests/qemu-iotests/169 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/qemu-iotests/169 b/tests/qemu-iotests/169
index df408f8367..87edc85f43 100755
--- a/tests/qemu-iotests/169
+++ b/tests/qemu-iotests/169
@@ -89,6 +89,9 @@ class TestDirtyBitmapMigration(iotests.QMPTestCase):
         mig_caps = [{'capability': 'events', 'state': True}]
         if migrate_bitmaps:
             mig_caps.append({'capability': 'dirty-bitmaps', 'state': True})
+        if not shared_storage:
+            mig_caps.append({'capability': 'block', 'state': True})
+
 
         result = self.vm_a.qmp('migrate-set-capabilities',
                                capabilities=mig_caps)
-- 
2.14.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]