diff options
author | Yang Hongyang <yanghy@cn.fujitsu.com> | 2015-10-07 11:52:21 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2015-10-12 13:31:28 +0800 |
commit | 7dbb11c84f25e20301b47a77102db00d68a2c4a4 (patch) | |
tree | 422dfd4290eef95e33f27c929af3fe2178f0dc09 /net/Makefile.objs | |
parent | b68c7f76926dee3f234ccee88f3167b640d9318e (diff) | |
download | qemu-7dbb11c84f25e20301b47a77102db00d68a2c4a4.zip qemu-7dbb11c84f25e20301b47a77102db00d68a2c4a4.tar.gz qemu-7dbb11c84f25e20301b47a77102db00d68a2c4a4.tar.bz2 |
netfilter: add a netbuffer filter
This filter is to buffer/release packets. Can be used when using
MicroCheckpointing or other Remus like VM FT solutions.
You can also use it to crudely simulate network delay. Doesn't
actually delay individual packets, but batches them together, which is
a delay of sorts.
Usage:
-netdev tap,id=bn0
-object filter-buffer,id=f0,netdev=bn0,queue=rx,interval=1000
NOTE:
Interval is in microseconds, it can't be omitted currently, and can't be 0.
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/Makefile.objs')
-rw-r--r-- | net/Makefile.objs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/Makefile.objs b/net/Makefile.objs index 914aec0..5fa2f97 100644 --- a/net/Makefile.objs +++ b/net/Makefile.objs @@ -14,3 +14,4 @@ common-obj-$(CONFIG_SLIRP) += slirp.o common-obj-$(CONFIG_VDE) += vde.o common-obj-$(CONFIG_NETMAP) += netmap.o common-obj-y += filter.o +common-obj-y += filter-buffer.o |