From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy8se-0005SG-1A for qemu-devel@nongnu.org; Mon, 29 Aug 2011 16:56:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qy8sc-0006Xd-Qi for qemu-devel@nongnu.org; Mon, 29 Aug 2011 16:56:27 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:60810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy8sc-0006XZ-Dy for qemu-devel@nongnu.org; Mon, 29 Aug 2011 16:56:26 -0400 Message-ID: <4E5BFCF8.3060206@web.de> Date: Mon, 29 Aug 2011 22:56:24 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4E5BE735.3090706@us.ibm.com> In-Reply-To: <4E5BE735.3090706@us.ibm.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8B3F1FBA4C20DAEFAE7D679E" Sender: jan.kiszka@web.de Subject: Re: [Qemu-devel] [PATCH 6/6] qdev: Generate IDs for anonymous devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel , Markus Armbruster This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8B3F1FBA4C20DAEFAE7D679E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2011-08-29 21:23, Anthony Liguori wrote: > On 08/26/2011 09:48 AM, Jan Kiszka wrote: >> In order to address devices for that the user forgot or is even unable= >> (no_user) to provide an ID, assign an automatically generated one. Suc= h >> IDs have the format #, thus are outside the name space availin= g >> to users. Don't use them for bus naming to avoid any other user-visibl= e >> change. >=20 > I don't think this is a very nice approach. Why not eliminate anonymou= s > devices entirely and use a parent derived name for devices that are not= > created by the user? This eliminates anonymous devices completely. So I guess you are asking for a different naming scheme, something like .child# e.g.? Well, we would end up with fairly long names when a complete hierarchy is anonymous. What would be the benefit? I'm really just looking for some simple, temporary workaround without touching the existing fragile naming scheme. What we really need is full path addressing, but that without preserving all the legacy. Jan --------------enig8B3F1FBA4C20DAEFAE7D679E 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.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5b/PgACgkQitSsb3rl5xSwbwCfVZTtt2zmKYt4tSj6l4pAMKi7 C3MAnj+7bqd+J/765eELA039MEv38D6R =w+Ac -----END PGP SIGNATURE----- --------------enig8B3F1FBA4C20DAEFAE7D679E--