From aee0bf7d8d7564f8f2c40e4501695c492b7dd8d1 Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Tue, 30 Oct 2012 16:04:50 +0200 Subject: [PATCH] tap-win32: stubs to fix win32 build Add missing stubs to win32 to fix link failure. Signed-off-by: Michael S. Tsirkin Reported-by: Paolo Bonzini Signed-off-by: Blue Swirl --- net/tap-win32.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/net/tap-win32.c b/net/tap-win32.c index 22dad3f8fb..8d2d32b1c3 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); +}