]> git.proxmox.com Git - qemu.git/commitdiff
tap-win32: stubs to fix win32 build
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 30 Oct 2012 14:04:50 +0000 (16:04 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Tue, 30 Oct 2012 19:18:53 +0000 (19:18 +0000)
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>
net/tap-win32.c

index 22dad3f8fb3ee0d35d38bb0f6a3bca35f98e28a9..8d2d32b1c329c5556c6dc38e5be14ab9fd0814a3 100644 (file)
@@ -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);
+}