qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Connecting vde and LAN


From: Jim C. Brown
Subject: Re: [Qemu-devel] Connecting vde and LAN
Date: Sun, 10 Jul 2005 22:33:26 -0400
User-agent: Mutt/1.4i

On Mon, Jul 11, 2005 at 04:21:31AM +0200, Henrik Nordstrom wrote:
> On Sun, 10 Jul 2005, Jim C. Brown wrote:
> 
> >The best solution is to use a vde_switch with libpcap and libnet. This 
> >allows
> >intercepting packets meant for the guests (via libnet) and forwarding them 
> >thru
> >vde.
> 
> Interesting idea. Would make full qemu networking truly a no-brainer.
> 
> Should even be possible to write just the libpcap+libnet "driver", 
> avoiding the need of a full vde_switch in such case.
> 

Yes, but if one was running multiple qemu guests, it would be cleaner to
implement this thru vde_switch instead of in qemu directly. That way eth0 is
intercepted by only a single process. (Also no worries about having permissions
to intercept packets and etc for qemu - just run vde_switch as root and qemu
as a regular user.)

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.




reply via email to

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