]> git.ipfire.org Git - thirdparty/qemu.git/commit - qemu-options.hx
net/filter-mirror:Add filter-mirror
authorZhang Chen <zhangchen.fnst@cn.fujitsu.com>
Tue, 15 Mar 2016 07:41:33 +0000 (15:41 +0800)
committerJason Wang <jasowang@redhat.com>
Wed, 30 Mar 2016 00:54:29 +0000 (08:54 +0800)
commitf6d3afb51f47af7bbc600c48cd54003a0b6d0f5e
tree222d0519474d3e783cec259df0c8e0c6d06c6e1f
parent553934db664ecee676650fac0330dceff3531736
net/filter-mirror:Add filter-mirror

Filter-mirror is a netfilter plugin.
It gives qemu the ability to mirror
packets to a chardev.

usage:

-netdev tap,id=hn0
-chardev socket,id=mirror0,host=ip_primary,port=X,server,nowait
-filter-mirror,id=m0,netdev=hn0,queue=tx/rx/all,outdev=mirror0

Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Reviewed-by: Yang Hongyang <hongyang.yang@easystack.cn>
Reviewed-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/Makefile.objs
net/filter-mirror.c [new file with mode: 0644]
qemu-options.hx
vl.c