From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ceMQJ-0001VX-7d for qemu-devel@nongnu.org; Thu, 16 Feb 2017 08:48:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ceMQI-00058F-J1 for qemu-devel@nongnu.org; Thu, 16 Feb 2017 08:48:39 -0500 Date: Thu, 16 Feb 2017 21:48:30 +0800 From: Fam Zheng Message-ID: <20170216134830.GB28784@lemon.lan> References: <1486979689-230770-1-git-send-email-vsementsov@virtuozzo.com> <1486979689-230770-16-git-send-email-vsementsov@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1486979689-230770-16-git-send-email-vsementsov@virtuozzo.com> Subject: Re: [Qemu-devel] [PATCH 15/17] 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, kwolf@redhat.com, peter.maydell@linaro.org, lirans@il.ibm.com, quintela@redhat.com, jsnow@redhat.com, armbru@redhat.com, mreitz@redhat.com, stefanha@redhat.com, den@openvz.org, amit.shah@redhat.com, pbonzini@redhat.com, dgilbert@redhat.com On Mon, 02/13 12:54, 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. What should be done in libvirt to make sure the node-names are matching correctly at both sides? > > 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 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 > >