From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=51371 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OK4Hz-0001m0-AA for qemu-devel@nongnu.org; Thu, 03 Jun 2010 02:52:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OK4Hy-00084q-6p for qemu-devel@nongnu.org; Thu, 03 Jun 2010 02:52:27 -0400 Received: from mail.codesourcery.com ([38.113.113.100]:39545) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OK4Hx-00084b-Th for qemu-devel@nongnu.org; Thu, 03 Jun 2010 02:52:26 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] qdev: Reject duplicate and anti-social device IDs Date: Thu, 3 Jun 2010 07:51:35 +0100 References: <4C038882.3080007@redhat.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006030751.37918.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Juan Quintela , Jan Kiszka , Markus Armbruster , Luiz Capitulino , Blue Swirl , Jan Kiszka , Gerd Hoffmann , Avi Kivity > Also require IDs to start with a letter to provide for possible future > extensions. I'd go further than that, and require that user specified IDs match [A-Za-z][A-Za-z0-9_-]* Paul