From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=33670 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8CH8-0001SW-6S for qemu-devel@nongnu.org; Tue, 19 Oct 2010 09:30:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8CH2-0004Ak-FR for qemu-devel@nongnu.org; Tue, 19 Oct 2010 09:30:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8CH2-0004AZ-96 for qemu-devel@nongnu.org; Tue, 19 Oct 2010 09:30:40 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9JDUd3w013867 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 19 Oct 2010 09:30:39 -0400 Message-ID: <4CBD9D7B.7060004@redhat.com> Date: Tue, 19 Oct 2010 15:30:35 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 2/3] usb: add public usb_device_by_id References: <304691519.861701287493987348.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> In-Reply-To: <304691519.861701287493987348.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alon Levy Cc: qemu-devel@nongnu.org Hi, > There is no problem to loop over all usb devices. But first of all I > don't want to loop on used, since then I miss any detached devices, > so I actually do want the same behavior of qdev_find_recursive, and > since it's already available, why rewrite it in a different > compilation unit? Point. ACK then. cheers, Gerd