Re: [PATCH qemu-kvm] Add raw(af_packet) network backend to qemu

Or Gerlitz
2010-01-28T11:22:36Z

Sridhar Samudrala wrote:
> On Wed, 2010-01-27 at 22:39 +0100, Arnd Bergmann wrote:
>> we already have -net socket,fd and any user that passes an fd into
>> that already knows what he wants to do with it. Making it work with
>> raw sockets is just a natural extension to this
> Didn't realize that -net socket is already there and supports TCP and UDP sockets. I will look into extending -net socket to support AF_PACKET SOCK_RAW type sockets
The original thought was that the -raw option will be integrated in a
pass through manner, that is bypassing the qemu vlan (internal bridge).
This will allow qemu to use the mac address of the SR-IOV (e.g HW VF,
software macvlan) NIC as the mac delivered to the VM, in that sense it
is pretty different from the -net socket option.

Or.