From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NIMYk-0005Wd-8x for qemu-devel@nongnu.org; Wed, 09 Dec 2009 08:26:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NIMYe-0005TZ-J4 for qemu-devel@nongnu.org; Wed, 09 Dec 2009 08:26:24 -0500 Received: from [199.232.76.173] (port=36705 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIMYe-0005TN-Ft for qemu-devel@nongnu.org; Wed, 09 Dec 2009 08:26:20 -0500 Received: from va3ehsobe003.messaging.microsoft.com ([216.32.180.13]:49597 helo=VA3EHSOBE003.bigfish.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.60) (envelope-from ) id 1NIMYe-0001Id-8i for qemu-devel@nongnu.org; Wed, 09 Dec 2009 08:26:20 -0500 From: Christoph Egger Subject: Re: [Qemu-devel] Re: [PATCH, try 2] qemu/tap: add -net tap, dev= option Date: Wed, 9 Dec 2009 14:21:09 +0100 References: <200912081841.45075.arnd@arndb.de> <20091209115351.GH2977@redhat.com> <200912091333.37224.arnd@arndb.de> In-Reply-To: <200912091333.37224.arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200912091421.10258.Christoph.Egger@amd.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Arnd Bergmann , "Michael S. Tsirkin" On Wednesday 09 December 2009 13:33:36 Arnd Bergmann wrote: > On Wednesday 09 December 2009, Michael S. Tsirkin wrote: > > On Tue, Dec 08, 2009 at 06:41:44PM +0100, Arnd Bergmann wrote: > > > --- a/net/tap-bsd.c > > > +++ b/net/tap-bsd.c > > > @@ -40,7 +40,8 @@ > > > #include > > > #endif > > > > > > -int tap_open(char *ifname, int ifname_size, int *vnet_hdr, int > > > vnet_hdr_required) +int tap_open(char *ifname, int ifname_size, char > > > *dev, int dev_size, + int *vnet_hdr, int vnet_hdr_required) > > > { > > > int fd; > > > char *dev; > > > > Does this compile? > > I don't have a BSD or Solaris machine here, or even just a cross-compiler, > so I could not test. This sounds like a bad joke on a virtualization list. You can say you don't have an AMD or Intel machine to test hw feature XY but saying you don't have a machine running a certain OS is prude as you can always use qemu itself to get that up and running. Christoph -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632