[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH V5 0/9] Add COLO-proxy virtio-net support
From: |
Zhang Chen |
Subject: |
[Qemu-devel] [PATCH V5 0/9] Add COLO-proxy virtio-net support |
Date: |
Tue, 23 May 2017 22:20:32 +0800 |
If user use -device virtio-net-pci, virtio-net driver will add a header
to raw net packet that colo-proxy can't handle it. COLO-proxy just
focus on the packet payload, so we skip the virtio-net header to compare
the sent packet that primary guest's to secondary guest's.
V5:
- patch1: No change.
- patch2: Keep the long line in qemu-option.hx.
Squash patch2 into old patch3.
Add more comments.
Fix the return value.
- patch3: Add more comments in commit log.
- patch4: Add Suggested-by tag.
Fix commit log.
Move vnet_hdr to SocketReadState.
- patch5: No change.
- patch6: Squash old patch6 into this patch.
- patch7: No change.
- patch8: Remove the offset_all.
- patch9: Squash old patch11 and the patch12.
V4:
- Add vnet_hdr option for filter-mirror, filter-redirector,
filter-rewriter,colo-compare.
- Use new design to impliment virtio-net support for colo-proxy.
- Fix codestyle.
- Remove unused option for filter-rewriter.
- Add filter-rewriter virtio-net support.
- Address other comments.
Zhang Chen (9):
net: Add vnet_hdr_len related arguments in NetClientState
net/filter-mirror.c: Make filter mirror support vnet support.
net/filter-mirror.c: Add new option to enable vnet support for
filter-redirector
net/net.c: Add vnet_hdr support in SocketReadState
net/colo.c: Make vnet_hdr_len as packet property
net/colo-compare.c: Make colo-compare support vnet_hdr_len
net/colo.c: Add vnet packet parse feature in colo-proxy
net/colo-compare.c: Add vnet packet's tcp/udp/icmp compare
net/filter-rewriter.c: Make filter-rewriter support vnet_hdr_len
include/net/net.h | 8 +++-
net/colo-compare.c | 92 +++++++++++++++++++++++++++++++++++++------
net/colo.c | 9 +++--
net/colo.h | 4 +-
net/filter-mirror.c | 107 +++++++++++++++++++++++++++++++++++++++++++++++---
net/filter-rewriter.c | 55 +++++++++++++++++++++++++-
net/net.c | 35 +++++++++++++++--
qemu-options.hx | 19 +++++----
8 files changed, 291 insertions(+), 38 deletions(-)
--
2.7.4
[Qemu-devel] [PATCH V5 1/9] net: Add vnet_hdr_len related arguments in NetClientState, Zhang Chen, 2017/05/23