summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorZhang Chen <zhangchen.fnst@cn.fujitsu.com>2017-07-04 14:53:52 +0800
committerJason Wang <jasowang@redhat.com>2017-07-17 20:13:50 +0800
commitaa3a7032f73f603818ea3e781b19ce8eab0d33f1 (patch)
treede1edbd56d51f87a372e284c33f96550cd3eac40 /hw/net/virtio-net.c
parent3037e7a5b7670e9b99dd61e3fe4b9e41ce8c1143 (diff)
downloadfocaccia-qemu-aa3a7032f73f603818ea3e781b19ce8eab0d33f1.tar.gz
focaccia-qemu-aa3a7032f73f603818ea3e781b19ce8eab0d33f1.zip
net/colo-compare.c: Make colo-compare support vnet_hdr_len
We add the vnet_hdr_support option for colo-compare, 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 colo-compare,id=comp0,primary_in=compare0-0,secondary_in=compare1,outdev=compare_out0,vnet_hdr_support

COLO-compare can get vnet header length from filter,
Add vnet_hdr_len to struct packet and output packet with
the vnet_hdr_len.

Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions