From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N9xt3-0000wn-P9 for qemu-devel@nongnu.org; Mon, 16 Nov 2009 04:28:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N9xsz-0000w9-Cw for qemu-devel@nongnu.org; Mon, 16 Nov 2009 04:28:41 -0500 Received: from [199.232.76.173] (port=38352 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N9xsz-0000w6-7n for qemu-devel@nongnu.org; Mon, 16 Nov 2009 04:28:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49063) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N9xsy-0001aK-OV for qemu-devel@nongnu.org; Mon, 16 Nov 2009 04:28:37 -0500 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nAG9SZ8D019757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 16 Nov 2009 04:28:36 -0500 Message-ID: <4B011B40.2080800@redhat.com> Date: Mon, 16 Nov 2009 10:28:32 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1258057742-18699-1-git-send-email-markmc@redhat.com> <1258057742-18699-6-git-send-email-markmc@redhat.com> In-Reply-To: <1258057742-18699-6-git-send-email-markmc@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 5/7] qdev: add qdev_foreach() List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mark McLoughlin Cc: qemu-devel@nongnu.org, quintela@redhat.com On 11/12/09 21:29, Mark McLoughlin wrote: > No doubt this is the worst idea ever, but the requirement is simple - > some way to iterate all NICs in the system. Doesn't have net.c a list of all vlanclientstates it could use instead? cheers, Gerd