qemu-devel
[Top][All Lists]
Advanced

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

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


From: Jamie Lokier
Subject: Re: [Qemu-devel] [PATCH] net: add raw backend
Date: Fri, 3 Jul 2009 03:39:12 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Or Gerlitz wrote:
> Jamie Lokier wrote:
> > It looks like it would be functionally identical to the pcap
> > network backend, with the same advantages and problems, but one
> > less dependency on an external library (and removes any
> > compatibility with ancient kernels that are in libpcap, but QEMU
> > doesn't work on them anyway).
> 

> Assuming that by "pcap network backend" you refer to the -net dump
> backend, I don't think this (the idea/patch being functionally
> identical) is the case with the current code: the dump backend opens a
> file and writes there packets received from the vlan in pcap format,
> that's all. So first, there's no direct linking with libpcap, and more
> important, the packets aren't going to the network through the dump
> backend. With the raw backend, there's no pcap file, but packets are
> sent to and received from the network through packet socket.

No, I meant "-net pcap", whose patch is announced at
http://lists.freebsd.org/pipermail/freebsd-emulation/2007-February/003108.html
and found here:
http://people.freebsd.org/~jkim/patch-qemu-pcap.diff

I saw it mention on this list in the last few months.
It sends and receives packets over a host network interface using libpcap.

-- Jamie




reply via email to

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