[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v7 14/16] iotests: add default node-name
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
[Qemu-devel] [PATCH v7 14/16] iotests: add default node-name |
Date: |
Mon, 10 Jul 2017 19:30:27 +0300 |
When testing migration, auto-generated by qemu node-names differs in
source and destination qemu and migration fails. After this patch,
auto-generated by iotest nodenames will be the same.
Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
---
tests/qemu-iotests/iotests.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py
index f64277d0b4..3dcf539730 100644
--- a/tests/qemu-iotests/iotests.py
+++ b/tests/qemu-iotests/iotests.py
@@ -168,6 +168,8 @@ class VM(qtest.QEMUQtestMachine):
options.append('file=%s' % path)
options.append('format=%s' % format)
options.append('cache=%s' % cachemode)
+ if 'node-name' not in opts:
+ options.append('node-name=drivenode%d' % self._num_drives)
if opts:
options.append(opts)
--
2.11.1
- [Qemu-devel] [PATCH v7 00/16] Dirty bitmaps postcopy migration, Vladimir Sementsov-Ogievskiy, 2017/07/10
- [Qemu-devel] [PATCH v7 08/16] migration: include migrate_dirty_bitmaps in migrate_postcopy, Vladimir Sementsov-Ogievskiy, 2017/07/10
- [Qemu-devel] [PATCH v7 14/16] iotests: add default node-name,
Vladimir Sementsov-Ogievskiy <=
- [Qemu-devel] [PATCH v7 02/16] migration: fix ram_save_pending, Vladimir Sementsov-Ogievskiy, 2017/07/10
- [Qemu-devel] [PATCH v7 01/16] migration: add has_postcopy savevm handler, Vladimir Sementsov-Ogievskiy, 2017/07/10
- [Qemu-devel] [PATCH v7 03/16] migration: split common postcopy out of ram postcopy, Vladimir Sementsov-Ogievskiy, 2017/07/10
- [Qemu-devel] [PATCH v7 04/16] migration: introduce postcopy-only pending, Vladimir Sementsov-Ogievskiy, 2017/07/10
- [Qemu-devel] [PATCH v7 05/16] block/dirty-bitmap: add bdrv_dirty_bitmap_enable_successor(), Vladimir Sementsov-Ogievskiy, 2017/07/10
- [Qemu-devel] [PATCH v7 12/16] migration: add postcopy migration of dirty bitmaps, Vladimir Sementsov-Ogievskiy, 2017/07/10
- [Qemu-devel] [PATCH v7 13/16] iotests: add add_incoming_migration to VM class, Vladimir Sementsov-Ogievskiy, 2017/07/10
- [Qemu-devel] [PATCH v7 07/16] block/dirty-bitmap: add bdrv_dirty_bitmap_release_successor, Vladimir Sementsov-Ogievskiy, 2017/07/10