diff options
author | Zhang Chen <zhangchen.fnst@cn.fujitsu.com> | 2017-07-04 14:53:55 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2017-07-17 20:13:53 +0800 |
commit | 4b39bdced59708cc9475cc555b8a232da4ea01af (patch) | |
tree | 93efda1a54df4b20b13b9aed25afcc59f87c1d02 /balloon.c | |
parent | d63b366a26b46bd8109a64bf4a2ecc5e16242a8b (diff) | |
download | qemu-4b39bdced59708cc9475cc555b8a232da4ea01af.zip qemu-4b39bdced59708cc9475cc555b8a232da4ea01af.tar.gz qemu-4b39bdced59708cc9475cc555b8a232da4ea01af.tar.bz2 |
net/filter-rewriter.c: Make filter-rewriter support vnet_hdr_len
We add the vnet_hdr_support option for filter-rewriter, default is disabled.
If you use virtio-net-pci or other driver needs vnet_hdr, please enable it.
You can use it for example:
-object filter-rewriter,id=rew0,netdev=hn0,queue=all,vnet_hdr_support
We get the vnet_hdr_len from NetClientState that make us
parse net packet correctly.
Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'balloon.c')
0 files changed, 0 insertions, 0 deletions