From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDMye-0007Ly-Df for qemu-devel@nongnu.org; Wed, 25 Nov 2009 13:52:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDMyW-0007Fy-4W for qemu-devel@nongnu.org; Wed, 25 Nov 2009 13:52:28 -0500 Received: from [199.232.76.173] (port=48986 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDMyV-0007Fp-Ve for qemu-devel@nongnu.org; Wed, 25 Nov 2009 13:52:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:16576) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDMyV-0000Db-EI for qemu-devel@nongnu.org; Wed, 25 Nov 2009 13:52:23 -0500 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 nAPIqMfq023369 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 25 Nov 2009 13:52:22 -0500 Received: from blaa.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nAPIqLNl000331 for ; Wed, 25 Nov 2009 13:52:22 -0500 From: Mark McLoughlin Date: Wed, 25 Nov 2009 18:48:53 +0000 Message-Id: <1259174977-26212-1-git-send-email-markmc@redhat.com> Subject: [Qemu-devel] [PATCH 00/44] Fix announce_self(), misc net fixes and cleanups List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, Here's a new series of patches mainly to fix qemu_announce_self() with -netdev as discussed earlier on the list. I would have liked to have split the series in three, but there would be conflicts between each, so here goes: 1) Patches 01 to 05 - net.c cleanups These patches continue the job of moving net backends from net.c to individual files in the net/ directory 2) Patches 06 to 39 - fix qemu_annonuce_self() The basic issue is that we need a sane way of iterating all the NICs on the system, obtaining the MAC address for each and inject a packet from each. The series splits out the per-device-type data from VLANClientState into a new structure called NetClientInfo. It further allows devices to inherit from VLANClientState and introduces a NICState struct and qemu_new_nic() constructor for NICs. That's a huge amount of churn just to fix qemu_announce_self(), but I think the end result is a very nice cleanup to the net API. 3) Patches 40 to 44 - misc fixes Some small misc networking fixes, including the two posted by Pierre Riteau earlier. I've given all this quite a bit of compile and runtime testing and it seems in good shape. Thanks, Mark.