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.
Zhang Chen (3): COLO-proxy: Add virtio-net packet parse function COLO-proxy: Add a tag to mark virtio-net packet COLO-compare: Add virtio-net packet compare support net/colo-compare.c | 42 +++++++++++++++++++++++++++++++++--------- net/colo.c | 14 ++++++++++---- net/colo.h | 7 ++++++- net/filter-rewriter.c | 15 ++++++++++----- 4 files changed, 59 insertions(+), 19 deletions(-) -- 2.7.4