From: Jason Wang <jasowang@redhat.com>
To: Thomas Huth <thuth@redhat.com>, qemu-devel@nongnu.org
Cc: yanghy@cn.fujitsu.com, armbru@redhat.com, stefanha@redhat.com,
mst@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2 0/5] Network traffic dumping via netfilter
Date: Tue, 20 Oct 2015 12:35:15 +0800 [thread overview]
Message-ID: <5625C483.2040901@redhat.com> (raw)
In-Reply-To: <1444732802-14732-1-git-send-email-thuth@redhat.com>
On 10/13/2015 06:39 PM, Thomas Huth wrote:
> The "-net dump" option only works with the "-net" option. So far, it
> is not possible to dump network traffic with the "-netdev" option yet.
> This patch series now fixes this ugliness by enabling dumping for the
> netdev devices via the new netfilter infrastructure from Yang Hongyang.
> The dumping filter can be used like this for example:
>
> ppc64-softmmu/qemu-system-ppc64 -device virtio-net,netdev=mynet \
> -netdev user,id=mynet,tftp=/tmp/tftp,bootfile=zImage \
> -object filter-dump,id=f0,netdev=mynet,file=/tmp/dumpfile.dat
>
> Changes in v2:
> - Only rebased to master branch (to suit the final version of the
> netfilter patches that are now merged into master)
>
> Thomas Huth (5):
> net/dump: Add support for receive_iov function
> net/dump: Rework net-dump init functions
> net/dump: Separate the NetClientState from the DumpState
> net/dump: Provide the dumping facility as a net filter
> options: Add documentation for filter-dump
>
> net/dump.c | 228 ++++++++++++++++++++++++++++++++++++++++++++++++--------
> qemu-options.hx | 8 ++
> vl.c | 7 +-
> 3 files changed, 212 insertions(+), 31 deletions(-)
>
Applied in https://github.com/jasowang/qemu/commits/net
Thanks.
prev parent reply other threads:[~2015-10-20 4:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-13 10:39 [Qemu-devel] [PATCH v2 0/5] Network traffic dumping via netfilter Thomas Huth
2015-10-13 10:39 ` [Qemu-devel] [PATCH v2 1/5] net/dump: Add support for receive_iov function Thomas Huth
2015-10-14 2:13 ` Yang Hongyang
2015-10-13 10:39 ` [Qemu-devel] [PATCH v2 2/5] net/dump: Rework net-dump init functions Thomas Huth
2015-10-14 2:17 ` Yang Hongyang
2015-10-13 10:40 ` [Qemu-devel] [PATCH v2 3/5] net/dump: Separate the NetClientState from the DumpState Thomas Huth
2015-10-14 2:23 ` Yang Hongyang
2015-10-13 10:40 ` [Qemu-devel] [PATCH v2 4/5] net/dump: Provide the dumping facility as a net-filter Thomas Huth
2015-10-14 2:42 ` Yang Hongyang
2015-10-13 10:40 ` [Qemu-devel] [PATCH v2 5/5] options: Add documentation for filter-dump Thomas Huth
2015-10-20 4:35 ` Jason Wang [this message]
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=5625C483.2040901@redhat.com \
--to=jasowang@redhat.com \
--cc=armbru@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=thuth@redhat.com \
--cc=yanghy@cn.fujitsu.com \
/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.