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: Or Gerlitz
Subject: Re: [Qemu-devel] Re: [PATCH-updated] qemu/net: add raw backend
Date: Thu, 15 Oct 2009 09:48:09 +0200
User-agent: Thunderbird 2.0.0.19 (X11/20081209)

Anthony Liguori wrote:
> for every user who understands the limitations of the raw socket
> interface and is willing to accept them in order to avoid setting up a
> bridge, there will be a dozen who's experience will be worse because
> they tried the raw socket interface and it behaved in a way that they didn't 
> expect.

limitations can be documented

> We aren't talking about adding a feature here.  We're talking about
> adding something that's supposed to be "easier" but I'm arguing that
> it's not easier unless you're a kernel hacker and deeply understand the
> limitations of the implementation.

Anthony,

Its surely a feature, you bypass the bridge/tap and go directly to the NIC. 
Using sr-iov/vf based nic or macvlan, its software counterpart is simply as 
running /sbin/ip to create the nic in the macvlan case, or reading a short memo 
in the sr-iov case. Nothing is kernel hacking, e.g this is being done now all 
over the place by application engineers of the 10g nic vendors, and as 
eventually all of them are going to support sr-iov in the coming year. I 
believe that the Qemu developer community should also look into this near 
future and allow the adoption of a feature that allows for much less state-full 
configuration compared to a bridge/tap one and provides better performance. The 
VMs would get their IP from a DHCP server residing on the network and not the 
host, this should be acceptable for many users. 


Or.




Or.



Or.




reply via email to

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