All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: Or Gerlitz <ogerlitz@Voltaire.com>
Cc: Herbert Xu <herbert.xu@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] net: add raw backend
Date: Fri, 3 Jul 2009 03:39:12 +0100	[thread overview]
Message-ID: <20090703023911.GD938@shareable.org> (raw)
In-Reply-To: <4A4CA747.1050509@Voltaire.com>

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	other threads:[~2009-07-03  2:39 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-01 15:46 [Qemu-devel] [PATCH] net: add raw backend Or Gerlitz
2009-07-01 16:21 ` Jamie Lokier
2009-07-02 12:25   ` Or Gerlitz
2009-07-03  2:39     ` Jamie Lokier [this message]
2009-07-07 13:33       ` Or Gerlitz
2009-07-07 14:57         ` Jamie Lokier
2009-07-08 14:45           ` Or Gerlitz
2009-07-14 13:54             ` Or Gerlitz
2009-07-15 20:38             ` Jamie Lokier
2009-07-15 21:06               ` Jan Kiszka
2009-07-15 21:52                 ` Jamie Lokier
2009-07-16  8:29               ` Or Gerlitz
2009-07-20 14:13               ` [Qemu-devel] [PATCH] net: add raw backend - some performance measurements Or Gerlitz
2009-07-20 15:53                 ` Herbert Xu
2009-07-20 18:20                   ` Michael S. Tsirkin
2009-07-21  1:46                     ` Herbert Xu
2009-07-21  7:03                   ` Or Gerlitz
2009-07-21  7:25                     ` Herbert Xu
2009-07-21  7:25                       ` Herbert Xu
2009-07-21 10:17                       ` Or Gerlitz
2009-07-21 10:17                         ` Or Gerlitz
2009-07-21 10:27                       ` Michael S. Tsirkin
2009-07-21 10:27                         ` Michael S. Tsirkin
2009-07-21 11:05                         ` Or Gerlitz
2009-07-21 11:05                           ` Or Gerlitz
2009-07-21 12:01                           ` Michael S. Tsirkin
2009-07-21 12:01                             ` Michael S. Tsirkin
2009-07-21 12:14                             ` Herbert Xu
2009-07-21 12:14                               ` Herbert Xu
2009-07-21 13:41                               ` Or Gerlitz
2009-07-21 13:41                                 ` Or Gerlitz
     [not found] ` <5b31733c0907011250i7afcdbcdnb844290de4ad64f2@mail.gmail.com>
2009-07-02 12:08   ` [Qemu-devel] [PATCH] net: add raw backend Or Gerlitz
2009-07-02 15:43 ` Michael S. Tsirkin
2009-07-07 14:45   ` Or Gerlitz
2009-07-07 14:49     ` Michael S. Tsirkin
2009-07-08 14:46       ` Or Gerlitz
2009-07-08 15:06       ` Or Gerlitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090703023911.GD938@shareable.org \
    --to=jamie@shareable.org \
    --cc=herbert.xu@redhat.com \
    --cc=ogerlitz@Voltaire.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.