[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH 15/17] iotests: add default node-name
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
[Qemu-block] [PATCH 15/17] iotests: add default node-name |
Date: |
Mon, 13 Feb 2017 12:54:47 +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 f5ca4b8..e110c90 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)
--
1.8.3.1
- [Qemu-block] [PATCH v6 00/17] Dirty bitmaps postcopy migration, Vladimir Sementsov-Ogievskiy, 2017/02/13
- [Qemu-block] [PATCH 02/17] migration: fix ram_save_pending, Vladimir Sementsov-Ogievskiy, 2017/02/13
- [Qemu-block] [PATCH 11/17] migration: add is_active_iterate handler, Vladimir Sementsov-Ogievskiy, 2017/02/13
- [Qemu-block] [PATCH 15/17] iotests: add default node-name,
Vladimir Sementsov-Ogievskiy <=
- Re: [Qemu-block] [Qemu-devel] [PATCH 15/17] iotests: add default node-name, Fam Zheng, 2017/02/16
- Re: [Qemu-block] [Qemu-devel] [PATCH 15/17] iotests: add default node-name, Vladimir Sementsov-Ogievskiy, 2017/02/17
- Re: [Qemu-block] [Qemu-devel] [PATCH 15/17] iotests: add default node-name, Fam Zheng, 2017/02/17
- Re: [Qemu-block] [Qemu-devel] [PATCH 15/17] iotests: add default node-name, Vladimir Sementsov-Ogievskiy, 2017/02/17
- Re: [Qemu-block] [Qemu-devel] [PATCH 15/17] iotests: add default node-name, Fam Zheng, 2017/02/17
- Re: [Qemu-block] [Qemu-devel] [PATCH 15/17] iotests: add default node-name, Dr. David Alan Gilbert, 2017/02/17
[Qemu-block] [PATCH 01/17] migration: add has_postcopy savevm handler, Vladimir Sementsov-Ogievskiy, 2017/02/13
[Qemu-block] [PATCH 14/17] qmp: add x-debug-block-dirty-bitmap-sha256, Vladimir Sementsov-Ogievskiy, 2017/02/13