All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
To: Wen Congyang <wency@cn.fujitsu.com>,
	Jason Wang <jasowang@redhat.com>,
	qemu devel <qemu-devel@nongnu.org>
Cc: zhanghailiang <zhang.zhanghailiang@huawei.com>,
	Li Zhijian <lizhijian@cn.fujitsu.com>,
	Gui jianfeng <guijianfeng@cn.fujitsu.com>,
	"eddie.dong" <eddie.dong@intel.com>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
	Yang Hongyang <hongyang.yang@easystack.cn>
Subject: Re: [Qemu-devel] [PATCH V9 0/2] net/filter-mirror:add filter-mirror and unit test
Date: Tue, 15 Mar 2016 15:27:53 +0800	[thread overview]
Message-ID: <56E7B979.1000402@cn.fujitsu.com> (raw)
In-Reply-To: <56E7B737.1000601@cn.fujitsu.com>



On 03/15/2016 03:18 PM, Wen Congyang wrote:
> On 03/15/2016 03:04 PM, Jason Wang wrote:
>>
>> On 03/15/2016 01:38 PM, Zhang Chen wrote:
>>> 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
>> Want to merge the series, but it doesn't build on my laptop (and another
>> machine).
>>
>>      CHK version_gen.h
>>    CC    net/filter-mirror.o
>> In file included from /home/devel/git/qemu/include/net/filter.h:12:0,
>>                   from net/filter-mirror.c:12:
>> /home/devel/git/qemu/include/qom/object.h:300:39: error: unknown type
>> name ‘Error’
>>                                         Error **errp);
> I think he doesn't use the newest commit.
> After the commit 2744d920, we should include qemu/osdep.h first

Thanks, I will fix in now~
zhangchen

> Thanks
> Wen Congyang
>
>>> 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
>>>
>>
>>
>> .
>>
> .
>

-- 
Thanks
zhangchen

      reply	other threads:[~2016-03-15  7:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-15  5:38 [Qemu-devel] [PATCH V9 0/2] net/filter-mirror:add filter-mirror and unit test Zhang Chen
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 [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=56E7B979.1000402@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=wency@cn.fujitsu.com \
    --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 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.