From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAfeM-0001Sj-FY for qemu-devel@nongnu.org; Tue, 04 Feb 2014 08:02:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAfeH-0006Q3-KF for qemu-devel@nongnu.org; Tue, 04 Feb 2014 08:02:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:23138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAfeH-0006PE-Ai for qemu-devel@nongnu.org; Tue, 04 Feb 2014 08:02:45 -0500 Message-ID: <52F0E4EF.8060205@redhat.com> Date: Tue, 04 Feb 2014 06:02:39 -0700 From: Eric Blake MIME-Version: 1.0 References: <1390509099-695-9-git-send-email-benoit.canet@irqsave.net> <20140124132619.GF3342@dhcp-200-207.str.redhat.com> <52E26C98.1070206@redhat.com> <20140124144854.GI3342@dhcp-200-207.str.redhat.com> <52E27EAF.7020209@redhat.com> <20140127143644.GH7415@irqsave.net> <52E6AF7F.90000@redhat.com> <20140128000444.GA3085@irqsave.net> <52EC0862.90401@redhat.com> <20140131213700.GB3072@irqsave.net> <20140203094353.GD3643@dhcp-200-207.str.redhat.com> In-Reply-To: <20140203094353.GD3643@dhcp-200-207.str.redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0TvqEM6kiSMpFnAAsVoQRw3Pe8M00lEXD" Subject: Re: [Qemu-devel] [PATCH V6 8/8] block: Use graph node name as reference in bdrv_file_open(). List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , =?UTF-8?B?QmVub8OudCBDYW5ldA==?= Cc: armbru@redhat.com, famz@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, Max Reitz This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --0TvqEM6kiSMpFnAAsVoQRw3Pe8M00lEXD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 02/03/2014 02:43 AM, Kevin Wolf wrote: >=20 > Yes, I think allowing bdrv_lookup_bs() to find both node names and > device names makes sense. >=20 > I would still use a common namespace and forbid using the same name for= > a device and a node. That makes sense for libvirt as well (libvirt has every intention of using a different prefix when referring to a device than when referring to a node, so a shared namespace won't hurt libvirt, and makes the most sense for other operations). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --0TvqEM6kiSMpFnAAsVoQRw3Pe8M00lEXD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJS8OTwAAoJEKeha0olJ0Nqr5QH/13gYAHv5O/p1NC7dFJBYBU2 5wgUDR7QLICheLwvcfA+QN0ZVkVgwC7PHxp8FPsWupzgKdHqwzOQnGURpR3dIbl0 Int5XgF9UwmrAxm2Sxp66CQpU63swjj5J4wqA+A75aCGsdlsc9MdyyEoSLehuLRT ps4kDxlEWY/v+EYXCA/OEWklXleJsEV8I9fp8jubLV3a+ZQvhBC2na/kT1M30rgV /euNjb6acN8eCPQ/Ae5qNoSCNehsk/Pwv3yEsduUSmc57G9S6NA4esMeVB6ESFzm eIaj6Sb0DVRZp4i9i759/gwd5K8I46LAgZEBLQYG6bpRIX0t2rAs4GhLnMau7PI= =leth -----END PGP SIGNATURE----- --0TvqEM6kiSMpFnAAsVoQRw3Pe8M00lEXD--