qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] net: tap-linux: Fix unhelpful error message


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] net: tap-linux: Fix unhelpful error message
Date: Fri, 28 Oct 2011 08:40:27 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Oct 14, 2011 at 03:05:10PM -0300, Luiz Capitulino wrote:
> I'm getting:
> 
>     could not configure /dev/net/tun (tap%d): Operation not permitted
> 
> When the ioctl() fails, ifr.ifr_name will most likely not be overwritten.
> So we better only use it when ifname contains a string.
> 
> Signed-off-by: Luiz Capitulino <address@hidden>
> ---
> 
> PS: Trivial tree candidate.
> 
>  net/tap-linux.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)

Thanks, applied to the trivial patches -next tree:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches-next

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]