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 V9 0/2] net/filter-mirror:add filter-mirror and unit test
Date: Tue, 15 Mar 2016 13:38:29 +0800 [thread overview]
Message-ID: <1458020311-5907-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.
v9:
- add qmp("{ 'execute' : 'query-status'}")
before iov_send() and change pipe
to socket in test-filter-mirror.c
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 | 92 +++++++++++++++++++++++
vl.c | 3 +-
7 files changed, 284 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-15 5:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-15 5:38 Zhang Chen [this message]
2016-03-15 5:38 ` [Qemu-devel] [PATCH V9 1/2] net/filter-mirror:Add filter-mirror Zhang Chen
2016-03-15 5:38 ` [Qemu-devel] [PATCH V9 2/2] tests/test-filter-mirror:add filter-mirror unit test Zhang Chen
2016-03-15 7:04 ` [Qemu-devel] [PATCH V9 0/2] net/filter-mirror:add filter-mirror and " Jason Wang
2016-03-15 7:18 ` Wen Congyang
2016-03-15 7:27 ` 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=1458020311-5907-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).