qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH V3 0/3] filter-rewriter: introduce filter-rewriter
@ 2016-07-05 10:29 Zhang Chen
  2016-07-05 10:29 ` [Qemu-devel] [RFC PATCH V3 1/3] filter-rewriter: introduce filter-rewriter initialization Zhang Chen
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Zhang Chen @ 2016-07-05 10:29 UTC (permalink / raw)
  To: qemu devel, Daniel P . Berrange, Paolo Bonzini
  Cc: Jason Wang, Zhang Chen, Li Zhijian, Wen Congyang, eddie . dong

Filter-rewriter is a part of COLO project.
So this patch set depend on colo-compare.
It will rewrite some of secondary packet to make
secondary guest's connection established successfully.
In this module we will rewrite tcp packet's ack to the secondary
from primary,and rewrite tcp packet's seq to the primary from
secondary.

v3:
  - fix typo
  - add conn->syn_flag
  - add some comments
  - remove conn_list_lock
  - fix offset set bug

v2:
  - add more comments about packet flows
  - add some trace-event
  - add seq offset ( = secondary_seq - primary_seq)

v1:
  - initial patch

Zhang Chen (3):
  filter-rewriter: introduce filter-rewriter initialization
  filter-rewriter: track connection and parse packet
  filter-rewriter: rewrite tcp packet to keep secondary connection

 net/Makefile.objs     |   1 +
 net/colo-base.c       |   2 +
 net/colo-base.h       |   7 ++
 net/filter-rewriter.c | 262 ++++++++++++++++++++++++++++++++++++++++++++++++++
 qemu-options.hx       |  13 +++
 trace-events          |   5 +
 vl.c                  |   3 +-
 7 files changed, 292 insertions(+), 1 deletion(-)
 create mode 100644 net/filter-rewriter.c

-- 
2.7.4

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-07-28  2:05 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-05 10:29 [Qemu-devel] [RFC PATCH V3 0/3] filter-rewriter: introduce filter-rewriter Zhang Chen
2016-07-05 10:29 ` [Qemu-devel] [RFC PATCH V3 1/3] filter-rewriter: introduce filter-rewriter initialization Zhang Chen
2016-07-27  7:02   ` Jason Wang
2016-07-27  7:45     ` Zhang Chen
2016-07-05 10:29 ` [Qemu-devel] [RFC PATCH V3 2/3] filter-rewriter: track connection and parse packet Zhang Chen
2016-07-05 10:29 ` [Qemu-devel] [RFC PATCH V3 3/3] filter-rewriter: rewrite tcp packet to keep secondary connection Zhang Chen
2016-07-27  7:03   ` Jason Wang
2016-07-27  9:05     ` Zhang Chen
2016-07-28  2:04       ` Jason Wang
2016-07-27  2:32 ` [Qemu-devel] [RFC PATCH V3 0/3] filter-rewriter: introduce filter-rewriter Zhang Chen
2016-07-27  2:50   ` Jason Wang
2016-07-27  5:49     ` Zhang Chen
2016-07-27  7:05       ` Jason Wang
2016-07-27  7:52         ` Zhang Chen
2016-07-28  1:52           ` Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).