Xen doesn't need this.
Signed-off-by: Zhang Chen
---
migration/savevm.c | 4
1 file changed, 4 insertions(+)
diff --git a/migration/savevm.c b/migration/savevm.c
index 0363372..bec6c7e 100644
--- a/migration/savevm.c
+++ b/migration/savevm.c
@@ -1973,6 +1973,10 @@ int qemu_loadvm_
We can call this qmp command to do checkpoint outside of qemu.
Like Xen colo need this function.
Signed-off-by: Zhang Chen
---
docs/qmp-commands.txt | 24
migration/colo.c | 10 ++
qapi-schema.json | 22 ++
3 files changed, 56
On 11/04/2016 11:46 PM, Daniel P. Berrange wrote:
The use of -net socket,listen was broken in the following
commit
commit 16a3df403b10c4ac347159e39005fd520b2648bb
Author: Zhang Chen
Date: Fri May 13 15:35:19 2016 +0800
net/net: Add SocketReadState for reuse codes
This
Does anyone have any comments?
Ping
Thanks
Zhang Chen
On 11/01/2016 03:06 PM, Zhang Chen wrote:
On 11/01/2016 02:25 PM, Hailiang Zhang wrote:
Hmm, there are other contents in this file need to be updated,
for example, we support blockdev-add command for nbd now,
so we can convert
Hi~ Jason~
Can you pick up this patch?
[PATCH] docs: fix COLO architecture diagram
Thanks
Zhang Chen
On 11/14/2016 10:54 AM, Jason Wang wrote:
The following changes since commit 83c83f9a5266ff113060f887f106a47920fa6974:
Merge remote-tracking branch 'bonzini/tags/for-upstream&
.
If it is needed, I can also send a pull request through my
trivial-patches branch.
Laurent
The pull request for this patch has been sent by Jason.
Thanks for your attention, and thank Stefan.
Zhang Chen
--
Thanks
zhangchen
On 11/15/2016 05:03 PM, Hailiang Zhang wrote:
On 2016/11/15 16:58, Zhang Chen wrote:
On 11/15/2016 04:44 PM, Laurent Vivier wrote:
Le 14/11/2016 à 14:54, Stefan Hajnoczi a écrit :
On Mon, Nov 14, 2016 at 10:36:45AM +0800, Hailiang Zhang wrote:
ping ?
Anyone pick this up?
The original
On 02/22/2017 12:20 AM, Eric Blake wrote:
On 02/21/2017 08:07 AM, Markus Armbruster wrote:
Zhang Chen writes:
On 02/21/2017 07:15 PM, Markus Armbruster wrote:
Zhang Chen writes:
We can call this qmp command to do checkpoint outside of qemu.
Xen colo will need this function.
I know
liang
Reviewed-by: Zhang Chen
---
net/colo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/colo.c b/net/colo.c
index 6a6eacd..8cc166b 100644
--- a/net/colo.c
+++ b/net/colo.c
@@ -147,9 +147,9 @@ void connection_destroy(void *opaque)
Conne
will have two notify mechanism.
What do you think about this?
Thanks
Zhang Chen
Cc: Jason Wang
Signed-off-by: zhanghailiang
Signed-off-by: Zhang Chen
---
net/colo-compare.c | 72 ++
net/colo-compare.h | 20 +++
2 files change
On 02/23/2017 09:02 AM, Hailiang Zhang wrote:
Hi,
On 2017/2/22 17:31, Zhang Chen wrote:
On 02/22/2017 11:42 AM, zhanghailiang wrote:
While do checkpoint, we need to flush all the unhandled packets,
By using the filter notifier mechanism, we can easily to notify
every compare object to do
On 02/22/2017 11:23 PM, Eric Blake wrote:
On 02/22/2017 01:54 AM, Zhang Chen wrote:
if (err) {
result->status = REPLICATION_STATUS_ERROR;
result->has_desc = true;
result->desc = ...extract string from err
} else {
result->status = REPLICATION_STATUS_NORMAL;
}
We can call this qmp command to start/stop replication outside of qemu.
Like Xen colo need this function.
Signed-off-by: Zhang Chen
Signed-off-by: Wen Congyang
Reviewed-by: Eric Blake
Reviewed-by: Stefano Stabellini
Reviewed-by: zhanghailiang
---
migration/colo.c | 23
a0ddc0b359375b2418213966dfbdbfab593ecc6f
tools/libxl: introduction of libxl__qmp_restore to load qemu state
note: V8 address Zhanghailiang, Eric Blake and Markus Armbruster's comments.
Zhang Chen (2):
Add a new qmp command to start/stop replication
Add a new qmp command to do checkpoint, quer
We can call this qmp command to do checkpoint outside of qemu.
Xen colo will need this function.
Signed-off-by: Zhang Chen
Signed-off-by: Wen Congyang
Reviewed-by: Eric Blake
---
migration/colo.c | 23 +++
qapi-schema.json | 48
On 02/23/2017 11:31 PM, Eric Blake wrote:
On 02/23/2017 01:14 AM, Zhang Chen wrote:
We can call this qmp command to start/stop replication outside of qemu.
Like Xen colo need this function.
Signed-off-by: Zhang Chen
Signed-off-by: Wen Congyang
Reviewed-by: Eric Blake
Reviewed-by: Stefano
On 02/23/2017 11:34 PM, Eric Blake wrote:
On 02/23/2017 01:14 AM, Zhang Chen wrote:
We can call this qmp command to do checkpoint outside of qemu.
Xen colo will need this function.
Signed-off-by: Zhang Chen
Signed-off-by: Wen Congyang
Reviewed-by: Eric Blake
You made a substantial change
We can call this qmp command to start/stop replication outside of qemu.
Like Xen colo need this function.
Signed-off-by: Zhang Chen
Signed-off-by: Wen Congyang
Reviewed-by: Eric Blake
Reviewed-by: Stefano Stabellini
Reviewed-by: zhanghailiang
---
migration/colo.c | 26
a0ddc0b359375b2418213966dfbdbfab593ecc6f
tools/libxl: introduction of libxl__qmp_restore to load qemu state
Zhang Chen (2):
Add a new qmp command to start/stop replication
Add a new qmp command to do checkpoint, query xen replication status
migration/colo.c | 49
We can call this qmp command to do checkpoint outside of qemu.
Xen colo will need this function.
Signed-off-by: Zhang Chen
Signed-off-by: Wen Congyang
---
migration/colo.c | 23 +++
qapi-schema.json | 49 +
2 files changed, 72
nl(ntohl(tcp_pkt->th_seq) - conn->offset);
+/* Only need to adjust seq while offset is Non-zero */
+if (conn->offset) {
Refer to the above comments.
Thanks
Zhang Chen
+/* handle packets to the primary from the secondary*/
+tcp_pkt->th_seq
On 02/24/2017 04:08 PM, Zhang Chen wrote:
On 02/22/2017 11:46 AM, zhanghailiang wrote:
While the offset of packets's sequence for primary side and
secondary side is zero, it is unnecessary to call
net_checksum_calculate()
to recalculate the checksume value of packets.
Signed-o
On 02/25/2017 01:27 AM, Eric Blake wrote:
On 02/24/2017 01:22 AM, Zhang Chen wrote:
We can call this qmp command to do checkpoint outside of qemu.
Xen colo will need this function.
Signed-off-by: Zhang Chen
Signed-off-by: Wen Congyang
---
migration/colo.c | 23
On 02/25/2017 01:24 AM, Eric Blake wrote:
On 02/24/2017 01:22 AM, Zhang Chen wrote:
Xen COLO depend on qemu COLO replication function.
So, We need new qmp commands for Xen to use qemu replication.
Corresponding libxl patches already in xen.git.
Commit ID
a0ddc0b359375b2418213966dfbdbfab593ecc6f
tools/libxl: introduction of libxl__qmp_restore to load qemu state
V10:
- Fix ReplicationStatus error comments.
- Fix query-xen-replication-status example.
Zhang Chen (2):
Add a new qmp command to start/stop replication
Add a new qmp command to do checkpoint
We can call this qmp command to start/stop replication outside of qemu.
Like Xen colo need this function.
Signed-off-by: Zhang Chen
Signed-off-by: Wen Congyang
Reviewed-by: Eric Blake
Reviewed-by: Stefano Stabellini
Reviewed-by: zhanghailiang
---
migration/colo.c | 26
We can call this qmp command to do checkpoint outside of qemu.
Xen colo will need this function.
Signed-off-by: Zhang Chen
Signed-off-by: Wen Congyang
Reviewed-by: Eric Blake
---
migration/colo.c | 23 +++
qapi-schema.json | 48
This series we will Optimize the code and fix some bug.
Patch1: Add packet minimum size check in compare tcp/udp like compare icmp.
Patch2: Optimize compare_common and increase compare performance.
Patch3: Fix debug info always print bug.
V1:
- init patch.
Zhang Chen (3):
COLO-compare: Add
Add offset args for colo_packet_compare_common, optimize
colo_packet_compare_icmp() and colo_packet_compare_udp()
just compare the IP payload.
Signed-off-by: Zhang Chen
---
net/colo-compare.c | 28 +---
1 file changed, 21 insertions(+), 7 deletions(-)
diff --git a/net
Signed-off-by: Zhang Chen
---
net/colo-compare.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/net/colo-compare.c b/net/colo-compare.c
index 9853232..5ffc4a3 100644
--- a/net/colo-compare.c
+++ b/net/colo-compare.c
@@ -288,9 +288,13 @@ static int
Add packet minimum size check in colo_packet_compare_udp()
and colo_packet_compare_udp() like colo_packet_compare_icmp(),
rename function colo_packet_compare() to colo_packet_compare_common()
that we will reuse it later.
Signed-off-by: Zhang Chen
---
net/colo-compare.c | 30
Add packet size check in colo_packet_compare_udp()
and colo_packet_compare_udp(), rename function colo_packet_compare()
to colo_packet_compare_common() that we will reuse it later.
Signed-off-by: Zhang Chen
---
net/colo-compare.c | 30 ++
1 file changed, 22
Sorry, This patch has been renamed.
please ignore this patch.
Thanks
Zhang Chen
On 02/25/2017 11:32 AM, Zhang Chen wrote:
Add packet size check in colo_packet_compare_udp()
and colo_packet_compare_udp(), rename function colo_packet_compare()
to colo_packet_compare_common() that we will
On 02/27/2017 09:36 AM, Hailiang Zhang wrote:
On 2017/2/24 16:08, Zhang Chen wrote:
On 02/22/2017 11:46 AM, zhanghailiang wrote:
While the offset of packets's sequence for primary side and
secondary side is zero, it is unnecessary to call
net_checksum_calculate()
to recalculat
On 02/25/2017 02:43 PM, Hailiang Zhang wrote:
Hi,
On 2017/2/25 11:32, Zhang Chen wrote:
Add packet minimum size check in colo_packet_compare_udp()
and colo_packet_compare_udp() like colo_packet_compare_icmp(),
rename function colo_packet_compare() to colo_packet_compare_common()
that we will
On 02/25/2017 02:58 PM, Hailiang Zhang wrote:
On 2017/2/25 11:32, Zhang Chen wrote:
Add offset args for colo_packet_compare_common, optimize
colo_packet_compare_icmp() and colo_packet_compare_udp()
just compare the IP payload.
Signed-off-by: Zhang Chen
---
net/colo-compare.c | 28
On 02/25/2017 03:26 PM, Hailiang Zhang wrote:
On 2017/2/25 11:32, Zhang Chen wrote:
Add offset args for colo_packet_compare_common, optimize
colo_packet_compare_icmp() and colo_packet_compare_udp()
just compare the IP payload.
Signed-off-by: Zhang Chen
---
net/colo-compare.c | 28
On 02/27/2017 03:28 PM, Hailiang Zhang wrote:
On 2017/2/27 15:03, Zhang Chen wrote:
On 02/25/2017 02:58 PM, Hailiang Zhang wrote:
On 2017/2/25 11:32, Zhang Chen wrote:
Add offset args for colo_packet_compare_common, optimize
colo_packet_compare_icmp() and colo_packet_compare_udp()
just
On 02/27/2017 04:43 PM, Hailiang Zhang wrote:
On 2017/2/27 15:34, Zhang Chen wrote:
On 02/27/2017 03:28 PM, Hailiang Zhang wrote:
On 2017/2/27 15:03, Zhang Chen wrote:
On 02/25/2017 02:58 PM, Hailiang Zhang wrote:
On 2017/2/25 11:32, Zhang Chen wrote:
Add offset args for
On 02/28/2017 11:22 AM, Jason Wang wrote:
On 2017年02月25日 11:43, Zhang Chen wrote:
Sorry, This patch has been renamed.
please ignore this patch.
Thanks
Zhang Chen
Want to repost to just withdraw this series (patch 2 does not apply)?
I have repost this patch, and will send V2 about
Add offset args for colo_packet_compare_common, optimize
colo_packet_compare_icmp() and colo_packet_compare_udp()
just compare the IP payload. Before compare all tcp packet,
we compare tcp checksum firstly, this function can get
better performance.
Signed-off-by: Zhang Chen
---
net/colo
This series we will Optimize the code and fix some bug.
Patch1: Rename colo_packet_compare() and remove duplicate check in compare icmp.
Patch2: Optimize compare_common and increase compare performance.
Patch3: Fix debug info always print bug.
Zhang Chen (3):
COLO-compare: Rename compare
Signed-off-by: Zhang Chen
---
net/colo-compare.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/net/colo-compare.c b/net/colo-compare.c
index 61fcdf2..6b38723 100644
--- a/net/colo-compare.c
+++ b/net/colo-compare.c
@@ -275,9 +275,13 @@ static int
Rename colo_packet_compare() to colo_packet_compare_common() that
make tcp_compare udp_compare icmp_compare reuse this function.
Remove minimum packet size check in icmp_compare, because we have
check this in parse_packet_early().
Signed-off-by: Zhang Chen
---
net/colo-compare.c | 18
On 02/28/2017 01:47 PM, Jason Wang wrote:
On 2017年02月28日 13:18, Zhang Chen wrote:
Add offset args for colo_packet_compare_common, optimize
colo_packet_compare_icmp() and colo_packet_compare_udp()
just compare the IP payload. Before compare all tcp packet,
we compare tcp checksum firstly
Add chardev handler to get Xen colo-frame's notify.
Signed-off-by: Zhang Chen
---
net/colo-compare.c | 28
1 file changed, 28 insertions(+)
diff --git a/net/colo-compare.c b/net/colo-compare.c
index 57d336b..947a9e2 100644
--- a/net/colo-compare.c
+++ b/net
This patch have some TODO job.
Depend on patch:
https://lists.nongnu.org/archive/html/qemu-devel/2017-02/msg05055.html
Signed-off-by: Zhang Chen
---
net/colo-compare.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/net/colo-compare.c b/net/colo-compare.c
://lists.nongnu.org/archive/html/qemu-devel/2017-02/msg05055.html
Zhang Chen (3):
COLO-compare: Add new parameter for communicate with Xen colo-frame
COLO-compare: Add Xen notify chardev socket handler frame
COLO-compare: Add colo-compare Xen notify
net/colo-compare.c | 77
We add the "notify_dev=chardevID" parameter. colo-compare can connect with
Xen colo-frame through chardev socket.like notify colo-frame do checkpoint
events.
Signed-off-by: Zhang Chen
---
net/colo-compare.c | 20
qemu-options.
Signed-off-by: Zhang Chen
---
net/filter-mirror.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/net/filter-mirror.c b/net/filter-mirror.c
index aa0aa98..72fa7c2 100644
--- a/net/filter-mirror.c
+++ b/net/filter-mirror.c
@@ -49,7 +49,7 @@ static int filter_mirror_send
On 03/02/2017 03:51 PM, Jason Wang wrote:
On 2017年02月28日 14:11, Zhang Chen wrote:
OK, How about this?
+/*
+ * Because of ppkt and spkt are both in the same connection,
+ * The ppkt's src ip, dst ip, src port, dst port, ip_proto all are
+ * same with spkt. In additio
Signed-off-by: Zhang Chen
---
net/colo-compare.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/net/colo-compare.c b/net/colo-compare.c
index 9f5968d..282727b 100644
--- a/net/colo-compare.c
+++ b/net/colo-compare.c
@@ -279,9 +279,13 @@ static int
This series we will Optimize the code and fix some bug.
Patch1: Rename colo_packet_compare() and remove duplicate check in compare icmp.
Patch2: Optimize compare_common and increase compare performance.
Patch3: Fix debug info always print bug.
Zhang Chen (3):
COLO-compare: Rename compare
Add offset args for colo_packet_compare_common, optimize
colo_packet_compare_icmp() and colo_packet_compare_udp()
just compare the IP payload. Before compare all tcp packet,
we compare tcp checksum firstly, this function can get
better performance.
Signed-off-by: Zhang Chen
---
net/colo
Rename colo_packet_compare() to colo_packet_compare_common() that
make tcp_compare udp_compare icmp_compare reuse this function.
Remove minimum packet size check in icmp_compare, because we have
check this in parse_packet_early().
Signed-off-by: Zhang Chen
---
net/colo-compare.c | 18
es, fix this helper function to return -1 while some errors happen.
Signed-off-by: zhanghailiang
This patch looks fine to me.
Reviewed-by: Zhang Chen
Thanks
Zhang Chen
---
net/colo-compare.c | 54 --
1 file changed, 8 insertions(+), 46 deleti
On 10/10/2016 11:13 AM, Hailiang Zhang wrote:
Hi,
On 2016/10/10 10:52, Zhang Chen wrote:
On 09/30/2016 12:06 PM, zhanghailiang wrote:
find_and_check_chardev() uses 'opts' member of CharDriverState to
check if the chardev is 'socket' chardev or not, which the opts
wi
Fix memory leak in colo-compare.c and filter-rewriter.c
Report by Coverity.
Signed-off-by: Zhang Chen
---
net/colo-compare.c| 4 ++--
net/filter-rewriter.c | 9 +
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/net/colo-compare.c b/net/colo-compare.c
index 22b1da1
On 10/11/2016 04:23 AM, Eric Blake wrote:
On 10/10/2016 04:46 AM, Zhang Chen wrote:
Fix memory leak in colo-compare.c and filter-rewriter.c
Report by Coverity.
Signed-off-by: Zhang Chen
---
net/colo-compare.c| 4 ++--
net/filter-rewriter.c | 9 +
2 files changed, 7
Fix memory leak in colo-compare.c and filter-rewriter.c
Report by Coverity.
v2:
- use traces instead of fprintf in colo-compare.c
v1:
- initial patch
Signed-off-by: Zhang Chen
---
net/colo-compare.c| 11 +++
net/filter-rewriter.c | 17 +
trace-events
On 10/11/2016 10:32 PM, Eric Blake wrote:
On 10/11/2016 02:33 AM, Zhang Chen wrote:
Fix memory leak in colo-compare.c and filter-rewriter.c
Report by Coverity.
This part is fine.
v2:
- use traces instead of fprintf in colo-compare.c
v1:
- initial patch
...but this part should live
Fix memory leak in colo-compare.c and filter-rewriter.c
Report by Coverity and add some comments.
Signed-off-by: Zhang Chen
---
net/colo-compare.c| 34 +++---
net/filter-rewriter.c | 17 +
trace-events | 1 +
3 files changed, 21
On 10/13/2016 02:57 PM, zhanghailiang wrote:
After commit 0a73336d, 'props' variable in find_and_check_chardev()
is unused. Remove it, togther with struct CompareChardevProps.
Signed-off-by: zhanghailiang
Reviewed-by: Zhang Chen
Thanks
Zhang Chen
---
net/colo-com
Fix memory leak in colo-compare.c and filter-rewriter.c
Report by Coverity and add some comments.
v3:
- rebase this patch for upstream codes
v2:
- use traces instead of fprintf in colo-compare.c
v1:
- initial patch
Zhang Chen (1):
colo-proxy: fix memory leak
net/colo-compare.c
Fix memory leak in colo-compare.c and filter-rewriter.c
Report by Coverity and add some comments.
Signed-off-by: Zhang Chen
---
net/colo-compare.c| 34 +++---
net/filter-rewriter.c | 17 +
net/trace-events | 1 +
3 files changed, 21
Anyone have some comments?
this bug report by paolo
ping...
On 10/17/2016 05:23 PM, Zhang Chen wrote:
Fix memory leak in colo-compare.c and filter-rewriter.c
Report by Coverity and add some comments.
Signed-off-by: Zhang Chen
---
net/colo-compare.c| 34
ctor,id=f1,netdev=hn0,queue=tx,indev=red0
-object filter-redirector,id=f2,netdev=hn0,queue=rx,outdev=red1
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
net/Makefile.objs | 1 +
net/colo-compare.c | 222 +
P,UDP,ICMP and other packet comparison
- add trace-event
- add some comments
- other bug fix
- add RFC index
- add usage in patch 1/4
v2:
- add jhash.h
v1:
- initial patch
Zhang Chen (7):
colo-compare: introduce colo compare initialization
colo-base: add colo-base to defi
;s own conn.
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
net/colo-base.c| 108 +
net/colo-base.h| 30 +++
net/colo-compare.c | 70 +-
3 files c
COLO-base used by colo-compare and filter-rewriter.
this can share common data structure like:net packet,
and share other functions.
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
net/Makefile.objs | 1 +
net/colo-base.c| 74
Add qemu_chr_add_handlers_full() API, we can use
this API pass in a GMainContext,make handler run
in the context rather than main_loop.
This comments from Daniel P . Berrange.
Cc: Daniel P . Berrange
Cc: Paolo Bonzini
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen
We add TCP,UDP,ICMP packet comparison to replace
IP packet comparison. This can increase the
accuracy of the package comparison.
less checkpoint more efficiency.
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
net/colo-compare.c | 174
Jhash used by colo-compare and filter-rewriter
to save and lookup net connection info
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
include/qemu/jhash.h | 61
1 file changed, 61 insertions(+)
create
checkpoint.
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
net/colo-base.c| 1 +
net/colo-base.h| 3 +
net/colo-compare.c | 212 +
trace-events | 2 +
4 files changed, 218 insertions(+)
diff
On 07/21/2016 05:00 PM, Daniel P. Berrange wrote:
On Thu, Jul 21, 2016 at 04:26:11PM +0800, Zhang Chen wrote:
Add qemu_chr_add_handlers_full() API, we can use
this API pass in a GMainContext,make handler run
in the context rather than main_loop.
This comments from Daniel P . Berrange.
Cc
ison
- add trace-event
- add some comments
- other bug fix
- add RFC index
- add usage in patch 1/4
v2:
- add jhash.h
v1:
- initial patch
Zhang Chen (7):
colo-compare: introduce colo compare initialization
colo-base: add colo-base to define and handle packet
Jhash: add linux k
Jhash used by colo-compare and filter-rewriter
to save and lookup net connection info
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
include/qemu/jhash.h | 61
1 file changed, 61 insertions(+)
create
;s own conn.
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
net/colo-base.c| 108 +
net/colo-base.h| 30 +++
net/colo-compare.c | 70 +-
3 files c
ctor,id=f1,netdev=hn0,queue=tx,indev=red0
-object filter-redirector,id=f2,netdev=hn0,queue=rx,outdev=red1
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
net/Makefile.objs | 1 +
net/colo-compare.c | 222 +
We add TCP,UDP,ICMP packet comparison to replace
IP packet comparison. This can increase the
accuracy of the package comparison.
less checkpoint more efficiency.
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
net/colo-compare.c | 174
checkpoint.
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
net/colo-base.c| 1 +
net/colo-base.h| 3 +
net/colo-compare.c | 212 +
trace-events | 2 +
4 files changed, 218 insertions(+)
diff
Add qemu_chr_add_handlers_full() API, we can use
this API pass in a GMainContext,make handler run
in the context rather than main_loop.
This comments from Daniel P . Berrange.
Cc: Daniel P . Berrange
Cc: Paolo Bonzini
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen
COLO-base used by colo-compare and filter-rewriter.
this can share common data structure like:net packet,
and share other functions.
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
net/Makefile.objs | 1 +
net/colo-base.c| 74
On 07/22/2016 02:45 PM, Li Zhijian wrote:
On 07/22/2016 01:38 PM, Zhang Chen wrote:
Add qemu_chr_add_handlers_full() API, we can use
this API pass in a GMainContext,make handler run
in the context rather than main_loop.
This comments from Daniel P . Berrange.
Cc: Daniel P . Berrange
Cc
add to: Daniel P . Berrange
On 07/22/2016 02:56 PM, Zhang Chen wrote:
On 07/22/2016 02:45 PM, Li Zhijian wrote:
On 07/22/2016 01:38 PM, Zhang Chen wrote:
Add qemu_chr_add_handlers_full() API, we can use
this API pass in a GMainContext,make handler run
in the context rather than main_loop
COLO-base used by colo-compare and filter-rewriter.
this can share common data structure like:net packet,
and share other functions.
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
net/Makefile.objs | 1 +
net/colo-base.c| 74
ompare to colo-frame v2.7
- fix most of Dave's comments
(except RCU)
- add TCP,UDP,ICMP and other packet comparison
- add trace-event
- add some comments
- other bug fix
- add RFC index
- add usage in patch 1/4
v2:
- add jhash.h
v1:
- initial patch
Zhang Chen (7):
colo-
Jhash used by colo-compare and filter-rewriter
to save and lookup net connection info
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
include/qemu/jhash.h | 61
1 file changed, 61 insertions(+)
create
ctor,id=f1,netdev=hn0,queue=tx,indev=red0
-object filter-redirector,id=f2,netdev=hn0,queue=rx,outdev=red1
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
net/Makefile.objs | 1 +
net/colo-compare.c | 222 +
checkpoint.
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
net/colo-base.c| 1 +
net/colo-base.h| 3 +
net/colo-compare.c | 212 +
trace-events | 2 +
4 files changed, 218 insertions(+)
diff
We add TCP,UDP,ICMP packet comparison to replace
IP packet comparison. This can increase the
accuracy of the package comparison.
less checkpoint more efficiency.
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
net/colo-compare.c | 174
;s own conn.
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
net/colo-base.c| 108 +
net/colo-base.h| 30 +++
net/colo-compare.c | 70 +-
3 files c
Add qemu_chr_add_handlers_full() API, we can use
this API pass in a GMainContext,make handler run
in the context rather than main_loop.
This comments from Daniel P . Berrange.
Cc: Daniel P . Berrange
Cc: Paolo Bonzini
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen
Hi~ all~~
Anyone have some comments for this series?
We need more comments to improve COLO codes.
Thanks
Zhang Chen
On 07/05/2016 06:29 PM, Zhang Chen wrote:
Filter-rewriter is a part of COLO project.
So this patch set depend on colo-compare.
It will rewrite some of secondary packet to
On 07/27/2016 10:50 AM, Jason Wang wrote:
On 2016年07月27日 10:32, Zhang Chen wrote:
Hi~ all~~
Anyone have some comments for this series?
Will have a look at this.
Btw. I wonder how this is tested, do we need a unit test for this?
COLO-compare and filter-rewriter works normal depend on
On 07/27/2016 03:02 PM, Jason Wang wrote:
On 2016年07月05日 18:29, Zhang Chen wrote:
Filter-rewriter is a part of COLO project.
It will rewrite some of secondary packet to make
secondary guest's tcp connection established successfully.
In this module we will rewrite tcp packet's
On 07/27/2016 03:05 PM, Jason Wang wrote:
On 2016年07月27日 13:49, Zhang Chen wrote:
On 07/27/2016 10:50 AM, Jason Wang wrote:
On 2016年07月27日 10:32, Zhang Chen wrote:
Hi~ all~~
Anyone have some comments for this series?
Will have a look at this.
Btw. I wonder how this is tested, do
On 07/27/2016 03:03 PM, Jason Wang wrote:
On 2016年07月05日 18:29, Zhang Chen wrote:
We will rewrite tcp packet secondary received and sent.
When colo guest is a tcp server.
Firstly, client start a tcp handshake. the packet's seq=client_seq,
ack=0,flag=SYN. COLO primary guest get this pk
Add qemu_chr_add_handlers_full() API, we can use
this API pass in a GMainContext,make handler run
in the context rather than main_loop.
This comments from Daniel P . Berrange.
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Congyang
---
include/sysemu/char.h | 11
condary.
usage:
colo secondary:
-object filter-redirector,id=f1,netdev=hn0,queue=tx,indev=red0
-object filter-redirector,id=f2,netdev=hn0,queue=rx,outdev=red1
-object filter-rewriter,id=rew0,netdev=hn0,queue=all
Signed-off-by: Zhang Chen
Signed-off-by: Li Zhijian
Signed-off-by: Wen Con
501 - 600 of 1739 matches
Mail list logo