]> git.proxmox.com Git - mirror_qemu.git/blobdiff - net/tap-win32.c
vdpa: move iova_range to vhost_vdpa_shared
[mirror_qemu.git] / net / tap-win32.c
index a49c28ba5dc55c24be88714d5e0e3fb9baa26a1e..7b8b4be02cff356ca446da6dcd762911f06368a4 100644 (file)
@@ -741,7 +741,7 @@ static void tap_using_vnet_hdr(NetClientState *nc, bool using_vnet_hdr)
 }
 
 static void tap_set_offload(NetClientState *nc, int csum, int tso4,
-                     int tso6, int ecn, int ufo)
+                     int tso6, int ecn, int ufo, int uso4, int uso6)
 {
 }
 
@@ -807,7 +807,7 @@ int net_init_tap(const Netdev *netdev, const char *name,
     assert(netdev->type == NET_CLIENT_DRIVER_TAP);
     tap = &netdev->u.tap;
 
-    if (!tap->has_ifname) {
+    if (!tap->ifname) {
         error_report("tap: no interface name");
         return -1;
     }