Skip to content

Commit

Permalink
tap-win32: stubs to fix win32 build
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mstsirkin authored and blueswirl committed Oct 30, 2012
1 parent f71d612 commit aee0bf7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions net/tap-win32.c
Expand Up @@ -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);
}

0 comments on commit aee0bf7

Please sign in to comment.