Re: [Qemu-devel] [PATCH] Check for TUNSETOFFLOAD support before trying to enable offload features

2009-11-25 Thread Mark McLoughlin
On Wed, 2009-11-25 at 11:04 +0100, Pierre Riteau wrote: > This avoids the "TUNSETOFFLOAD ioctl() failed: Invalid argument" message > on kernels without TUNSETOFFLOAD support. > > Signed-off-by: Pierre Riteau Acked-by: Mark McLoughlin Thanks, Mark. > --- > net/tap-linux.c |5 + > 1 fi

[Qemu-devel] [PATCH] Check for TUNSETOFFLOAD support before trying to enable offload features

2009-11-25 Thread Pierre Riteau
This avoids the "TUNSETOFFLOAD ioctl() failed: Invalid argument" message on kernels without TUNSETOFFLOAD support. Signed-off-by: Pierre Riteau --- net/tap-linux.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/net/tap-linux.c b/net/tap-linux.c index 0f621a2..e038e1