From patchwork Tue Oct 30 14:04:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: tap-win32: stubs to fix win32 build Date: Tue, 30 Oct 2012 04:04:50 -0000 From: "Michael S. Tsirkin" X-Patchwork-Id: 195498 Message-Id: <20121030140450.GA27739@redhat.com> To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Anthony Liguori , Stefan Hajnoczi 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); +}