From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTEUo-0004hn-TG for qemu-devel@nongnu.org; Tue, 30 Oct 2012 12:17:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTEUj-0006M2-2S for qemu-devel@nongnu.org; Tue, 30 Oct 2012 12:16:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTEUi-0006LX-Pv for qemu-devel@nongnu.org; Tue, 30 Oct 2012 12:16:48 -0400 Date: Tue, 30 Oct 2012 17:16:45 +0100 From: Stefan Hajnoczi Message-ID: <20121030161645.GB16674@stefanha-thinkpad.redhat.com> References: <20121030140450.GA27739@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121030140450.GA27739@redhat.com> Subject: Re: [Qemu-devel] [PATCH] tap-win32: stubs to fix win32 build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Paolo Bonzini , Anthony Liguori , qemu-devel@nongnu.org On Tue, Oct 30, 2012 at 04:04:50PM +0200, Michael S. Tsirkin wrote: > Add missing stubs to win32 to fix link failure. > > Signed-off-by: Michael S. Tsirkin > Reported-by: Paolo Bonzini > --- > net/tap-win32.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/net/tap-win32.c b/net/tap-win32.c > index 22dad3f..8d2d32b 100644 > --- a/net/tap-win32.c > +++ b/net/tap-win32.c > @@ -752,3 +752,13 @@ struct vhost_net *tap_get_vhost_net(NetClientState *nc) > { > return NULL; > } > + > +int tap_has_vnet_hdr_len(NetClientState *nc, int len) > +{ > + return 0; > +} > + > +void tap_set_vnet_hdr_len(NetClientState *nc, int len) > +{ > + assert(0); > +} How do we get link failures here on win32? The only object that needs these functions is vhost_net.o when CONFIG_VHOST_NET is defined. Stefan