From: Or Gerlitz <ogerlitz@voltaire.com>
To: Jamie Lokier <jamie@shareable.org>,
Anthony Liguori <anthony@codemonkey.ws>
Cc: Herbert Xu <herbert.xu@redhat.com>,
Jan Kiszka <jan.kiszka@web.de>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] net: add raw backend
Date: Tue, 07 Jul 2009 16:33:56 +0300 [thread overview]
Message-ID: <4A534EC4.5030209@voltaire.com> (raw)
In-Reply-To: <20090703023911.GD938@shareable.org>
Jamie Lokier wrote:
> 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.
okay, looking a bit on the archives I realized that the -net pcap
backend was suggested on the qemu-devel list at least twice, on 2007
(your pointer) and recently, e.g @
http://lists.gnu.org/archive/html/qemu-devel/2009-03/msg00895.html and
the mail threads that followed from March, April and May 2009. Under
Linux the pcap library uses a packet socket, so basically it could make
some sense to go through libpcap and not directly to sockets, but there
are also some disadvantages which will not less qemu implement some
related optimizations which are not integrated into libpcap.
Now, before going into libpcap vs. packet socket, I'd be happy if you or
Antony can help me understand the comments that with this approach guest
<--> host communication is impossible. AFAIK, the only packet sent by
Qemu is gratuitous ARP after migration, but it doesn't fall into guest
<--> host communication over the NIC/vlan/back-end gang, so I don't see
what is this traffic which is impossible with the bridge-less approach.
Also, if for some reason one need to communicate from the guest to the
host the -net raw can instructed to run over a veth Linux interface
couple which are connected to a bridge.
Or.
next prev parent reply other threads:[~2009-07-07 13:34 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
2009-07-07 13:33 ` Or Gerlitz [this message]
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=4A534EC4.5030209@voltaire.com \
--to=ogerlitz@voltaire.com \
--cc=anthony@codemonkey.ws \
--cc=herbert.xu@redhat.com \
--cc=jamie@shareable.org \
--cc=jan.kiszka@web.de \
--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.