qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH-updated] qemu/net: add raw backend


From: Gleb Natapov
Subject: Re: [Qemu-devel] Re: [PATCH-updated] qemu/net: add raw backend
Date: Thu, 15 Oct 2009 09:44:42 +0200

On Thu, Oct 15, 2009 at 09:29:34AM +0200, Or Gerlitz wrote:
> Gleb Natapov wrote:
> > tap need IP assigning.
> 
> Hi Gleb, please correct me if I'm wrong, but the way we use tap here is 
> attach it to a bridge from the one hand, and have Qemu write/read into/from 
> it Ethernet frames from the other hand. This means that even the MAC address 
> of tap isn't used, surely not an IP address.
> 
Yes, you are right. I don't use tap usually so I don't remember. What
I really mean is that guest needs IP assigning, so this means I need
external DHCP setup.  Slirp has (almost) everything you ever need from
networking and with zero config: dhcp address assigning, NATing your
traffic and as a bonus no need to run as root. Hard to beat that if you
don't need performance.  Raw requires root and external dhcp so it lose
two point to slirp and it doesn't win any for my use case. But we have
a lot of crap^W features in qemu anyway so don't see why not add this too.

--
                        Gleb.




reply via email to

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