Message ID | 1447255003-2043-13-git-send-email-vsementsov@virtuozzo.com |
---|---|
State | New |
Headers | show |
diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py index aac698a..3f005b7 100644 --- a/tests/qemu-iotests/iotests.py +++ b/tests/qemu-iotests/iotests.py @@ -147,7 +147,8 @@ class VM(object): options = ['if=%s' % interface, 'format=%s' % imgfmt, 'cache=%s' % cachemode, - 'id=drive%d' % self._num_drives] + 'id=drive%d' % self._num_drives, + 'node-name=drivenode%d' % self._num_drives] if path is not None: options.append('file=%s' % path)
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 <vsementsov@virtuozzo.com> --- tests/qemu-iotests/iotests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)