From: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
To: qemu devel <qemu-devel@nongnu.org>, Jason Wang <jasowang@redhat.com>
Cc: Li Zhijian <lizhijian@cn.fujitsu.com>,
Gui jianfeng <guijianfeng@cn.fujitsu.com>,
"eddie.dong" <eddie.dong@intel.com>,
zhanghailiang <zhang.zhanghailiang@huawei.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
Zhang Chen <zhangchen.fnst@cn.fujitsu.com>,
Yang Hongyang <hongyang.yang@easystack.cn>
Subject: [Qemu-devel] [PATCH V8 0/2] net/filter-mirror:add filter-mirror and unit test
Date: Wed, 9 Mar 2016 17:07:39 +0800 [thread overview]
Message-ID: <1457514461-1662-1-git-send-email-zhangchen.fnst@cn.fujitsu.com> (raw)
Filter-mirror is a netfilter plugin.
It gives qemu the ability to mirror
packets to a chardev.
v8:
- The outdev of filter-mirror test changed
from -chardev socket to -chardev pipe
v7:
- fix mktemp() to mkstemp()
v6:
- Address Jason's comments.
v5:
- Address Jason's comments.
v4:
- Address Jason's comments.
v3:
- Add filter-mirror unit test according
to Jason's comments
- Address zhanghailiang's comments.
- Address Jason's comments.
v2:
- Address zhanghailiang's comments.
- Address Eric Blake's comments.
- Address Yang Hongyang's comments.
- Address Dave's comments.
v1:
initial patch.
Zhang Chen (2):
net/filter-mirror:Add filter-mirror
tests/test-filter-mirror:add filter-mirror unit test
net/Makefile.objs | 1 +
net/filter-mirror.c | 181 +++++++++++++++++++++++++++++++++++++++++++++
qemu-options.hx | 5 ++
tests/.gitignore | 1 +
tests/Makefile | 2 +
tests/test-filter-mirror.c | 88 ++++++++++++++++++++++
vl.c | 3 +-
7 files changed, 280 insertions(+), 1 deletion(-)
create mode 100644 net/filter-mirror.c
create mode 100644 tests/test-filter-mirror.c
--
1.9.1
next reply other threads:[~2016-03-09 9:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-09 9:07 Zhang Chen [this message]
2016-03-09 9:07 ` [Qemu-devel] [PATCH V8 1/2] net/filter-mirror:Add filter-mirror Zhang Chen
2016-03-09 9:40 ` Wen Congyang
2016-03-09 10:03 ` Zhang Chen
2016-03-09 9:07 ` [Qemu-devel] [PATCH V8 2/2] tests/test-filter-mirror:add filter-mirror unit test Zhang Chen
-- strict thread matches above, loose matches on Subject: below --
2016-03-09 10:06 [Qemu-devel] [PATCH V8 0/2] net/filter-mirror:add filter-mirror and " Zhang Chen
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=1457514461-1662-1-git-send-email-zhangchen.fnst@cn.fujitsu.com \
--to=zhangchen.fnst@cn.fujitsu.com \
--cc=dgilbert@redhat.com \
--cc=eddie.dong@intel.com \
--cc=guijianfeng@cn.fujitsu.com \
--cc=hongyang.yang@easystack.cn \
--cc=jasowang@redhat.com \
--cc=lizhijian@cn.fujitsu.com \
--cc=qemu-devel@nongnu.org \
--cc=zhang.zhanghailiang@huawei.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).