From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eURU3-0008PL-HG for qemu-devel@nongnu.org; Thu, 28 Dec 2017 01:16:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eURU2-0002XJ-IX for qemu-devel@nongnu.org; Thu, 28 Dec 2017 01:16:03 -0500 Date: Thu, 28 Dec 2017 14:15:47 +0800 From: Fam Zheng Message-ID: <20171228061547.GJ9192@lemon> References: <20171220154945.88410-1-vsementsov@virtuozzo.com> <20171220154945.88410-12-vsementsov@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171220154945.88410-12-vsementsov@virtuozzo.com> Subject: Re: [Qemu-devel] [PATCH v9 11/13] iotests: add default node-name List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladimir Sementsov-Ogievskiy Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, pbonzini@redhat.com, armbru@redhat.com, eblake@redhat.com, stefanha@redhat.com, amit.shah@redhat.com, quintela@redhat.com, mreitz@redhat.com, kwolf@redhat.com, peter.maydell@linaro.org, dgilbert@redhat.com, den@openvz.org, jsnow@redhat.com, lirans@il.ibm.com On Wed, 12/20 18:49, Vladimir Sementsov-Ogievskiy wrote: > 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 > Reviewed-by: Max Reitz > --- > 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 6f057904a9..95454c1893 100644 > --- a/tests/qemu-iotests/iotests.py > +++ b/tests/qemu-iotests/iotests.py > @@ -216,6 +216,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 > Reviewed-by: Fam Zheng