From: Marcelo Tosatti <[email protected]>

Signed-off-by: Marcelo Tosatti <[email protected]>

diff --git a/net.c b/net.c
index a9f5ced..a23b75c 100644
--- a/net.c
+++ b/net.c
@@ -1603,7 +1603,9 @@ static TAPState *net_tap_fd_init(VLANState *vlan,
                                  int vnet_hdr)
 {
     TAPState *s;
+#ifdef TUNSETOFFLOAD
     unsigned int offload;
+#endif
 
     s = qemu_mallocz(sizeof(TAPState));
     s->fd = fd;
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to