[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
- [Qemu-devel] [PATCH for-3.0 0/7] fix persistent bitmaps migration logic, John Snow, 2018/07/23
- [Qemu-devel] [PATCH for-3.0 4/7] iotests: 169: actually test block migration,
John Snow <=
- [Qemu-devel] [PATCH for-3.0 1/7] iotests: 169: drop deprecated 'autoload' parameter, John Snow, 2018/07/23
- [Qemu-devel] [PATCH for-3.0 6/7] iotests: improve 169, John Snow, 2018/07/23
- [Qemu-devel] [PATCH for-3.0 3/7] block/qcow2: drop dirty_bitmaps_loaded state variable, John Snow, 2018/07/23
- [Qemu-devel] [PATCH for-3.0 7/7] iotests: 169: add cases for source vm resuming, John Snow, 2018/07/23
- [Qemu-devel] [PATCH for-3.0 5/7] dirty-bitmaps: clean-up bitmaps loading and migration logic, John Snow, 2018/07/23
- [Qemu-devel] [PATCH for-3.0 2/7] block/qcow2: improve error message in qcow2_inactivate, John Snow, 2018/07/23
- Re: [Qemu-devel] [PATCH for-3.0 0/7] fix persistent bitmaps migration logic, Stefan Hajnoczi, 2018/07/24
- Re: [Qemu-devel] [PATCH for-3.0 0/7] fix persistent bitmaps migration logic, Michael Roth, 2018/07/30