diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2012-10-30 16:04:50 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-10-30 19:18:53 +0000 |
commit | aee0bf7d8d7564f8f2c40e4501695c492b7dd8d1 (patch) | |
tree | dd52b9dfa55acd203379b2307a7c66ebd0203c27 | |
parent | f71d61216ea8eb914ee79459a58dc5343d95ddec (diff) |
tap-win32: stubs to fix win32 build
Add missing stubs to win32 to fix link failure.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reported-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | net/tap-win32.c | 10 |
1 files changed, 10 insertions, 0 deletions
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); +} |