Received: from eggs.gnu.org ([2001:4830:134:3::10]:47117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxvRJ-0003TJ-7G for qemu-devel@nongnu.org; Tue, 11 Apr 2017 09:02:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxvRD-00011G-F6 for qemu-devel@nongnu.org; Tue, 11 Apr 2017 09:02:33 -0400 References: <1486979689-230770-1-git-send-email-vsementsov@virtuozzo.com> <1486979689-230770-16-git-send-email-vsementsov@virtuozzo.com> <20170216134830.GB28784@lemon.lan> <20170217122141.GD3468@lemon.lan> <4fbb78a1-a486-3031-1666-6f586a5d4ab9@virtuozzo.com> <20170217140537.GA15819@lemon.lan> From: Eric Blake Message-ID: <262167f4-9817-edcc-2a80-9246004e8068@redhat.com> Date: Tue, 11 Apr 2017 08:02:04 -0500 MIME-Version: 1.0 In-Reply-To: <20170217140537.GA15819@lemon.lan> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DJT6PiMe8NXiI2lkRMSENIcn21hDUkx3d" 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 , Vladimir Sementsov-Ogievskiy Cc: kwolf@redhat.com, peter.maydell@linaro.org, stefanha@redhat.com, qemu-block@nongnu.org, quintela@redhat.com, qemu-devel@nongnu.org, armbru@redhat.com, lirans@il.ibm.com, pbonzini@redhat.com, amit.shah@redhat.com, den@openvz.org, mreitz@redhat.com, jsnow@redhat.com, dgilbert@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --DJT6PiMe8NXiI2lkRMSENIcn21hDUkx3d From: Eric Blake To: Fam Zheng , Vladimir Sementsov-Ogievskiy Cc: kwolf@redhat.com, peter.maydell@linaro.org, stefanha@redhat.com, qemu-block@nongnu.org, quintela@redhat.com, qemu-devel@nongnu.org, armbru@redhat.com, lirans@il.ibm.com, pbonzini@redhat.com, amit.shah@redhat.com, den@openvz.org, mreitz@redhat.com, jsnow@redhat.com, dgilbert@redhat.com Message-ID: <262167f4-9817-edcc-2a80-9246004e8068@redhat.com> Subject: Re: [Qemu-devel] [PATCH 15/17] iotests: add default node-name References: <1486979689-230770-1-git-send-email-vsementsov@virtuozzo.com> <1486979689-230770-16-git-send-email-vsementsov@virtuozzo.com> <20170216134830.GB28784@lemon.lan> <20170217122141.GD3468@lemon.lan> <4fbb78a1-a486-3031-1666-6f586a5d4ab9@virtuozzo.com> <20170217140537.GA15819@lemon.lan> In-Reply-To: <20170217140537.GA15819@lemon.lan> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/17/2017 08:05 AM, Fam Zheng wrote: > On Fri, 02/17 16:36, Vladimir Sementsov-Ogievskiy wrote: >> 17.02.2017 15:21, Fam Zheng wrote: >>> On Fri, 02/17 13:20, Vladimir Sementsov-Ogievskiy wrote: >>>> 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 matc= hing >>>>> correctly at both sides? >>>> Hmm, just set node names appropriately? >>> But I think the problem is that node names are not configurable from = libvirt >>> today, and then the migration will fail. Should the device name take = precedence >>> in the code, to make it easier? >> >> libvirt can use same parameters as I in this patch.. >=20 > If I'm not mistaken, libvirt can be patched to explicitly set the same = node > names in the QEMU command line, but that is some extra work to do there= =2E My > point is if device names are used during migration, when available, thi= s patch > and the libvirt change is not necessary. Ultimately, libvirt will be taught to use node names everywhere, at which point the appearance of an autogenerated node name in a qemu managed by libvirt will be considered a libvirt bug. We're not there yet, but don't let auto-generated node names hold up a series. --=20 Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org --DJT6PiMe8NXiI2lkRMSENIcn21hDUkx3d Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJY7NPMAAoJEKeha0olJ0NqnhcIAI59hAadR/m5syPNBj3oh9ZY e2VoeVaHls6IAzz+fiZpkbKWFturMJr3GmJ2lSsyEOsseAjzCtfKHDUArp98pUeE DuOxN7kcYJ5b+NIDMs/plGXGODYnog5BeQpG+VXiZGtRulN2kFQQRK8PydeQzxxE sOWyBFJlp+V3TsSJ53/2FfH3Cf0FAalg4EMzI2uqfocFH0mOIoblxENCo5oCW8yS nqeLyHkZxGfw07+2KGHZLjUjkia9Ef4tTFYZPxm2CYjkMAUN3WJ4K6TMHatfBmsM PcUDcgn9rFVvzzd8pZawkexOKlBbDMw8azjpHMYvcpd8m57Ajop4/Dlwia8olWU= =2AtF -----END PGP SIGNATURE----- --DJT6PiMe8NXiI2lkRMSENIcn21hDUkx3d--