From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cefeN-0006j4-00 for qemu-devel@nongnu.org; Fri, 17 Feb 2017 05:20:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cefeL-0007pf-Qp for qemu-devel@nongnu.org; Fri, 17 Feb 2017 05:20:26 -0500 References: <1486979689-230770-1-git-send-email-vsementsov@virtuozzo.com> <1486979689-230770-16-git-send-email-vsementsov@virtuozzo.com> <20170216134830.GB28784@lemon.lan> From: Vladimir Sementsov-Ogievskiy Message-ID: Date: Fri, 17 Feb 2017 13:20:17 +0300 MIME-Version: 1.0 In-Reply-To: <20170216134830.GB28784@lemon.lan> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Fam Zheng 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 16.02.2017 16:48, Fam Zheng wrote: > 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? Hmm, just set node names appropriately? > >> 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 >> >> -- Best regards, Vladimir