diff mbox series

[for-3.0,4/7] iotests: 169: actually test block migration

Message ID 20180723222210.11077-5-jsnow@redhat.com
State New
Headers show
Series fix persistent bitmaps migration logic | expand

Commit Message

John Snow July 23, 2018, 10:22 p.m. UTC
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 <jsnow@redhat.com>
---
 tests/qemu-iotests/169 | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

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)