Re: [Qemu-devel] [POC]colo-proxy in qemu

2015-11-13 Thread Dr. David Alan Gilbert
* Zhang Chen (zhangchen.f...@cn.fujitsu.com) wrote: > > > On 11/10/2015 06:54 PM, Dr. David Alan Gilbert wrote: > >* Tkid (zhangchen.f...@cn.fujitsu.com) wrote: > >>(3)SN Qemu COLO-Proxy recieve SVM's packets and forward to PN Qemu > >>COLO-Proxy. > >What protocol are you using for the data

Re: [Qemu-devel] [POC]colo-proxy in qemu

2015-11-11 Thread Dr. David Alan Gilbert
* Jason Wang (jasow...@redhat.com) wrote: > > > On 11/10/2015 05:41 PM, Dr. David Alan Gilbert wrote: > > * Jason Wang (jasow...@redhat.com) wrote: > >> > >> On 11/10/2015 01:26 PM, Tkid wrote: > >>> Hi,all > >>> > >>> We are planning to reimplement colo proxy in userspace (Here is in > >>>

Re: [Qemu-devel] [POC]colo-proxy in qemu

2015-11-10 Thread Tkid
On 11/10/2015 03:35 PM, Jason Wang wrote: On 11/10/2015 01:26 PM, Tkid wrote: Hi,all We are planning to reimplement colo proxy in userspace (Here is in qemu) to cache and compare net packets.This module is one of the important components of COLO project and now it is still in early stage, so

Re: [Qemu-devel] [POC]colo-proxy in qemu

2015-11-10 Thread Dr. David Alan Gilbert
* Jason Wang (jasow...@redhat.com) wrote: > > > On 11/10/2015 01:26 PM, Tkid wrote: > > Hi,all > > > > We are planning to reimplement colo proxy in userspace (Here is in > > qemu) to > > cache and compare net packets.This module is one of the important > > components > > of COLO project and now

Re: [Qemu-devel] [POC]colo-proxy in qemu

2015-11-10 Thread zhanghailiang
On 2015/11/10 15:35, Jason Wang wrote: On 11/10/2015 01:26 PM, Tkid wrote: Hi,all We are planning to reimplement colo proxy in userspace (Here is in qemu) to cache and compare net packets.This module is one of the important components of COLO project and now it is still in early stage, so

Re: [Qemu-devel] [POC]colo-proxy in qemu

2015-11-10 Thread Zhang Chen
On 11/10/2015 06:54 PM, Dr. David Alan Gilbert wrote: * Tkid (zhangchen.f...@cn.fujitsu.com) wrote: Hi,all We are planning to reimplement colo proxy in userspace (Here is in qemu) to cache and compare net packets.This module is one of the important components of COLO project and now it is

Re: [Qemu-devel] [POC]colo-proxy in qemu

2015-11-10 Thread Jason Wang
On 11/10/2015 04:30 PM, zhanghailiang wrote: > On 2015/11/10 15:35, Jason Wang wrote: >> >> >> On 11/10/2015 01:26 PM, Tkid wrote: >>> Hi,all >>> >>> We are planning to reimplement colo proxy in userspace (Here is in >>> qemu) to >>> cache and compare net packets.This module is one of the

Re: [Qemu-devel] [POC]colo-proxy in qemu

2015-11-10 Thread Dr. David Alan Gilbert
* Tkid (zhangchen.f...@cn.fujitsu.com) wrote: > Hi,all > > We are planning to reimplement colo proxy in userspace (Here is in qemu) to > cache and compare net packets.This module is one of the important components > of COLO project and now it is still in early stage, so any comments and >

Re: [Qemu-devel] [POC]colo-proxy in qemu

2015-11-10 Thread Dong, Eddie
> - What's the plan for vhost? Userspace network in qemu is rather slow, most > user will choose vhost. [Dong, Eddie] Hi Jason: How about we take staging approach? In general, COLO opens a door of high performance HA solution, but it will take very long time to make everything perfect.

Re: [Qemu-devel] [POC]colo-proxy in qemu

2015-11-10 Thread Jason Wang
On 11/10/2015 05:35 PM, Tkid wrote: > > > On 11/10/2015 03:35 PM, Jason Wang wrote: >> On 11/10/2015 01:26 PM, Tkid wrote: >>> Hi,all >>> >>> We are planning to reimplement colo proxy in userspace (Here is in >>> qemu) to >>> cache and compare net packets.This module is one of the important >>>

Re: [Qemu-devel] [POC]colo-proxy in qemu

2015-11-10 Thread Jason Wang
On 11/10/2015 05:41 PM, Dr. David Alan Gilbert wrote: > * Jason Wang (jasow...@redhat.com) wrote: >> >> On 11/10/2015 01:26 PM, Tkid wrote: >>> Hi,all >>> >>> We are planning to reimplement colo proxy in userspace (Here is in >>> qemu) to >>> cache and compare net packets.This module is one of

Re: [Qemu-devel] [POC]colo-proxy in qemu

2015-11-10 Thread Jason Wang
On 11/11/2015 09:23 AM, Dong, Eddie wrote: >> - What's the plan for vhost? Userspace network in qemu is rather slow, most >> user will choose vhost. > [Dong, Eddie] Hi Jason: > How about we take staging approach? In general, COLO opens a door of > high performance HA solution, but it will

Re: [Qemu-devel] [POC]colo-proxy in qemu

2015-11-09 Thread Jason Wang
On 11/10/2015 01:26 PM, Tkid wrote: > Hi,all > > We are planning to reimplement colo proxy in userspace (Here is in > qemu) to > cache and compare net packets.This module is one of the important > components > of COLO project and now it is still in early stage, so any comments and > feedback are

[Qemu-devel] [POC]colo-proxy in qemu

2015-11-09 Thread Tkid
Hi,all We are planning to reimplement colo proxy in userspace (Here is in qemu) to cache and compare net packets.This module is one of the important components of COLO project and now it is still in early stage, so any comments and feedback are warmly welcomed,thanks in advance. ## Background

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-30 Thread Gonglei
On 2015/7/30 19:56, Dr. David Alan Gilbert wrote: * Jason Wang (jasow...@redhat.com) wrote: On 07/30/2015 04:03 PM, Dr. David Alan Gilbert wrote: * Dong, Eddie (eddie.d...@intel.com) wrote: A question here, the packet comparing may be very tricky. For example, some protocol use random data

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-30 Thread Dr. David Alan Gilbert
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: On 2015/7/30 20:30, Dr. David Alan Gilbert wrote: * Gonglei (arei.gong...@huawei.com) wrote: On 2015/7/30 19:56, Dr. David Alan Gilbert wrote: * Jason Wang (jasow...@redhat.com) wrote: On 07/30/2015 04:03 PM, Dr. David Alan Gilbert

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-30 Thread Dr. David Alan Gilbert
* Gonglei (arei.gong...@huawei.com) wrote: On 2015/7/30 19:56, Dr. David Alan Gilbert wrote: * Jason Wang (jasow...@redhat.com) wrote: On 07/30/2015 04:03 PM, Dr. David Alan Gilbert wrote: * Dong, Eddie (eddie.d...@intel.com) wrote: A question here, the packet comparing may be very

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-30 Thread zhanghailiang
On 2015/7/30 20:30, Dr. David Alan Gilbert wrote: * Gonglei (arei.gong...@huawei.com) wrote: On 2015/7/30 19:56, Dr. David Alan Gilbert wrote: * Jason Wang (jasow...@redhat.com) wrote: On 07/30/2015 04:03 PM, Dr. David Alan Gilbert wrote: * Dong, Eddie (eddie.d...@intel.com) wrote: A

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-30 Thread Dr. David Alan Gilbert
* Jason Wang (jasow...@redhat.com) wrote: On 07/30/2015 04:03 PM, Dr. David Alan Gilbert wrote: * Dong, Eddie (eddie.d...@intel.com) wrote: A question here, the packet comparing may be very tricky. For example, some protocol use random data to generate unpredictable id or something

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-30 Thread Yang Hongyang
On 07/30/2015 09:59 PM, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: On 2015/7/30 20:30, Dr. David Alan Gilbert wrote: * Gonglei (arei.gong...@huawei.com) wrote: On 2015/7/30 19:56, Dr. David Alan Gilbert wrote: * Jason Wang (jasow...@redhat.com)

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-30 Thread Yang Hongyang
On 07/31/2015 09:28 AM, zhanghailiang wrote: On 2015/7/31 9:08, Yang Hongyang wrote: On 07/31/2015 01:53 AM, Dr. David Alan Gilbert wrote: * Yang Hongyang (yan...@cn.fujitsu.com) wrote: On 07/30/2015 09:59 PM, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com)

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-30 Thread Yang Hongyang
On 07/31/2015 01:53 AM, Dr. David Alan Gilbert wrote: * Yang Hongyang (yan...@cn.fujitsu.com) wrote: On 07/30/2015 09:59 PM, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: On 2015/7/30 20:30, Dr. David Alan Gilbert wrote: * Gonglei

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-30 Thread zhanghailiang
On 2015/7/31 9:08, Yang Hongyang wrote: On 07/31/2015 01:53 AM, Dr. David Alan Gilbert wrote: * Yang Hongyang (yan...@cn.fujitsu.com) wrote: On 07/30/2015 09:59 PM, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: On 2015/7/30 20:30, Dr. David Alan

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-30 Thread zhanghailiang
On 2015/7/31 1:53, Dr. David Alan Gilbert wrote: * Yang Hongyang (yan...@cn.fujitsu.com) wrote: On 07/30/2015 09:59 PM, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: On 2015/7/30 20:30, Dr. David Alan Gilbert wrote: * Gonglei

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-30 Thread Dong, Eddie
A question here, the packet comparing may be very tricky. For example, some protocol use random data to generate unpredictable id or something else. One example is ipv6_select_ident() in Linux. So COLO needs a mechanism to make sure PVM and SVM can generate same random data? Good

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-30 Thread Dr. David Alan Gilbert
* Dong, Eddie (eddie.d...@intel.com) wrote: A question here, the packet comparing may be very tricky. For example, some protocol use random data to generate unpredictable id or something else. One example is ipv6_select_ident() in Linux. So COLO needs a mechanism to make sure PVM

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-30 Thread Jason Wang
On 07/30/2015 04:03 PM, Dr. David Alan Gilbert wrote: * Dong, Eddie (eddie.d...@intel.com) wrote: A question here, the packet comparing may be very tricky. For example, some protocol use random data to generate unpredictable id or something else. One example is ipv6_select_ident() in Linux.

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-30 Thread Gonglei
On 2015/7/30 12:23, Jason Wang wrote: On 07/20/2015 02:42 PM, Li Zhijian wrote: Hi, all We are planning to implement colo-proxy in qemu to cache and compare packets. This module is one of the important component of COLO project and now it is still in early stage, so any comments and

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-30 Thread Dr. David Alan Gilbert
* Yang Hongyang (yan...@cn.fujitsu.com) wrote: On 07/30/2015 09:59 PM, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: On 2015/7/30 20:30, Dr. David Alan Gilbert wrote: * Gonglei (arei.gong...@huawei.com) wrote: On 2015/7/30 19:56, Dr. David Alan

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-29 Thread Jason Wang
On 07/20/2015 02:42 PM, Li Zhijian wrote: Hi, all We are planning to implement colo-proxy in qemu to cache and compare packets. This module is one of the important component of COLO project and now it is still in early stage, so any comments and feedback are warmly welcomed, thanks in

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-29 Thread Jan Kiszka
On 2015-07-29 00:12, Samuel Thibault wrote: Hello, Jan Kiszka, le Mon 27 Jul 2015 15:33:27 +0200, a écrit : Of course, I'm fine with handing this over to someone who'd like to pick up. Do we have volunteers? Samuel, would you like to do this? As a subsystem maintainer, you are already

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-28 Thread Samuel Thibault
zhanghailiang, le Tue 21 Jul 2015 09:59:22 +0800, a écrit : I didn't find any news since that version, are you still trying to push them to qemu upstream ? I'd still be trying if I had any actual answer other than we need to find time to deal about it :) I can rebase the patch series over the

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-28 Thread Samuel Thibault
Hello, Jan Kiszka, le Mon 27 Jul 2015 15:33:27 +0200, a écrit : Of course, I'm fine with handing this over to someone who'd like to pick up. Do we have volunteers? Samuel, would you like to do this? As a subsystem maintainer, you are already familiar with QEMU processes. I can help with

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-27 Thread Samuel Thibault
Hello, I'm just back from vacancy with no Internet access, so will answer shortly :) Samuel

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-27 Thread Yang Hongyang
Hi Dave, Thanks for the comments! On 07/27/2015 06:40 PM, Dr. David Alan Gilbert wrote: * Yang Hongyang (yan...@cn.fujitsu.com) wrote: Hi Jason, On 07/24/2015 10:12 AM, Jason Wang wrote: On 07/24/2015 10:04 AM, Dong, Eddie wrote: Hi Stefan: Thanks for your comments! On Mon,

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-27 Thread Jan Kiszka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2015-07-27 12:13, Stefan Hajnoczi wrote: On Tue, Jul 21, 2015 at 10:49:29AM +0100, Stefan Hajnoczi wrote: On Tue, Jul 21, 2015 at 08:13:42AM +0200, Jan Kiszka wrote: On 2015-07-20 17:01, Stefan Hajnoczi wrote: On Mon, Jul 20, 2015 at 2:12 PM,

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-27 Thread zhanghailiang
On 2015/7/27 18:13, Stefan Hajnoczi wrote: On Tue, Jul 21, 2015 at 10:49:29AM +0100, Stefan Hajnoczi wrote: On Tue, Jul 21, 2015 at 08:13:42AM +0200, Jan Kiszka wrote: On 2015-07-20 17:01, Stefan Hajnoczi wrote: On Mon, Jul 20, 2015 at 2:12 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote:

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-27 Thread Dr. David Alan Gilbert
* Jason Wang (jasow...@redhat.com) wrote: On 07/27/2015 01:51 PM, Yang Hongyang wrote: On 07/27/2015 12:49 PM, Jason Wang wrote: On 07/27/2015 11:54 AM, Yang Hongyang wrote: On 07/27/2015 11:24 AM, Jason Wang wrote: On 07/24/2015 04:04 PM, Yang Hongyang wrote: Hi Jason,

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-27 Thread Stefan Hajnoczi
On Tue, Jul 21, 2015 at 10:49:29AM +0100, Stefan Hajnoczi wrote: On Tue, Jul 21, 2015 at 08:13:42AM +0200, Jan Kiszka wrote: On 2015-07-20 17:01, Stefan Hajnoczi wrote: On Mon, Jul 20, 2015 at 2:12 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2015-07-20 14:55 GMT+03:00 zhanghailiang

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-27 Thread Dr. David Alan Gilbert
* Yang Hongyang (yan...@cn.fujitsu.com) wrote: Hi Jason, On 07/24/2015 10:12 AM, Jason Wang wrote: On 07/24/2015 10:04 AM, Dong, Eddie wrote: Hi Stefan: Thanks for your comments! On Mon, Jul 20, 2015 at 02:42:33PM +0800, Li Zhijian wrote: We are planning to implement colo-proxy

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-27 Thread Jason Wang
On 07/27/2015 01:51 PM, Yang Hongyang wrote: On 07/27/2015 12:49 PM, Jason Wang wrote: On 07/27/2015 11:54 AM, Yang Hongyang wrote: On 07/27/2015 11:24 AM, Jason Wang wrote: On 07/24/2015 04:04 PM, Yang Hongyang wrote: Hi Jason, On 07/24/2015 10:12 AM, Jason Wang wrote: On

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-27 Thread Yang Hongyang
On 07/27/2015 03:37 PM, Jason Wang wrote: On 07/27/2015 01:51 PM, Yang Hongyang wrote: On 07/27/2015 12:49 PM, Jason Wang wrote: On 07/27/2015 11:54 AM, Yang Hongyang wrote: On 07/27/2015 11:24 AM, Jason Wang wrote: On 07/24/2015 04:04 PM, Yang Hongyang wrote: Hi Jason, On

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-27 Thread Jason Wang
On 07/27/2015 01:51 PM, Yang Hongyang wrote: On 07/27/2015 12:49 PM, Jason Wang wrote: On 07/27/2015 11:54 AM, Yang Hongyang wrote: On 07/27/2015 11:24 AM, Jason Wang wrote: On 07/24/2015 04:04 PM, Yang Hongyang wrote: Hi Jason, On 07/24/2015 10:12 AM, Jason Wang wrote: On

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-27 Thread Jason Wang
On 07/27/2015 03:49 PM, Yang Hongyang wrote: On 07/27/2015 03:37 PM, Jason Wang wrote: On 07/27/2015 01:51 PM, Yang Hongyang wrote: On 07/27/2015 12:49 PM, Jason Wang wrote: On 07/27/2015 11:54 AM, Yang Hongyang wrote: On 07/27/2015 11:24 AM, Jason Wang wrote: On 07/24/2015 04:04

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-27 Thread Yang Hongyang
On 07/27/2015 04:06 PM, Jason Wang wrote: On 07/27/2015 03:49 PM, Yang Hongyang wrote: On 07/27/2015 03:37 PM, Jason Wang wrote: On 07/27/2015 01:51 PM, Yang Hongyang wrote: On 07/27/2015 12:49 PM, Jason Wang wrote: On 07/27/2015 11:54 AM, Yang Hongyang wrote: On 07/27/2015 11:24

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-27 Thread Yang Hongyang
On 07/27/2015 03:53 PM, Jason Wang wrote: On 07/27/2015 01:51 PM, Yang Hongyang wrote: On 07/27/2015 12:49 PM, Jason Wang wrote: On 07/27/2015 11:54 AM, Yang Hongyang wrote: On 07/27/2015 11:24 AM, Jason Wang wrote: On 07/24/2015 04:04 PM, Yang Hongyang wrote: Hi Jason, On

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-26 Thread Jason Wang
On 07/27/2015 11:54 AM, Yang Hongyang wrote: On 07/27/2015 11:24 AM, Jason Wang wrote: On 07/24/2015 04:04 PM, Yang Hongyang wrote: Hi Jason, On 07/24/2015 10:12 AM, Jason Wang wrote: On 07/24/2015 10:04 AM, Dong, Eddie wrote: Hi Stefan: Thanks for your comments! On Mon, Jul

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-26 Thread Jason Wang
On 07/24/2015 04:04 PM, Yang Hongyang wrote: Hi Jason, On 07/24/2015 10:12 AM, Jason Wang wrote: On 07/24/2015 10:04 AM, Dong, Eddie wrote: Hi Stefan: Thanks for your comments! On Mon, Jul 20, 2015 at 02:42:33PM +0800, Li Zhijian wrote: We are planning to implement colo-proxy in

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-26 Thread Yang Hongyang
On 07/27/2015 11:24 AM, Jason Wang wrote: On 07/24/2015 04:04 PM, Yang Hongyang wrote: Hi Jason, On 07/24/2015 10:12 AM, Jason Wang wrote: On 07/24/2015 10:04 AM, Dong, Eddie wrote: Hi Stefan: Thanks for your comments! On Mon, Jul 20, 2015 at 02:42:33PM +0800, Li Zhijian wrote:

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-26 Thread Yang Hongyang
On 07/27/2015 12:49 PM, Jason Wang wrote: On 07/27/2015 11:54 AM, Yang Hongyang wrote: On 07/27/2015 11:24 AM, Jason Wang wrote: On 07/24/2015 04:04 PM, Yang Hongyang wrote: Hi Jason, On 07/24/2015 10:12 AM, Jason Wang wrote: On 07/24/2015 10:04 AM, Dong, Eddie wrote: Hi Stefan:

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-24 Thread Yang Hongyang
Hi Jason, On 07/24/2015 10:12 AM, Jason Wang wrote: On 07/24/2015 10:04 AM, Dong, Eddie wrote: Hi Stefan: Thanks for your comments! On Mon, Jul 20, 2015 at 02:42:33PM +0800, Li Zhijian wrote: We are planning to implement colo-proxy in qemu to cache and compare packets. I thought

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-23 Thread Dong, Eddie
BTW, I felt it is better to be called as an agency, rather than a proxy. Any comments from native speaker? Thx Eddie Hi, all We are planning to implement colo-proxy in qemu to cache and compare packets. This module is one of the important component of COLO project and now it is still

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-23 Thread Dong, Eddie
Hi Stefan: Thanks for your comments! On Mon, Jul 20, 2015 at 02:42:33PM +0800, Li Zhijian wrote: We are planning to implement colo-proxy in qemu to cache and compare packets. I thought there is a kernel module to do that? Yes, that is the previous solution the COLO

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-23 Thread Jason Wang
On 07/24/2015 10:04 AM, Dong, Eddie wrote: Hi Stefan: Thanks for your comments! On Mon, Jul 20, 2015 at 02:42:33PM +0800, Li Zhijian wrote: We are planning to implement colo-proxy in qemu to cache and compare packets. I thought there is a kernel module to do that? Yes, that

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-21 Thread Stefan Hajnoczi
On Tue, Jul 21, 2015 at 08:13:42AM +0200, Jan Kiszka wrote: On 2015-07-20 17:01, Stefan Hajnoczi wrote: On Mon, Jul 20, 2015 at 2:12 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2015-07-20 14:55 GMT+03:00 zhanghailiang zhang.zhanghaili...@huawei.com: Agreed, besides, it is seemed that

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-21 Thread Jan Kiszka
On 2015-07-20 17:01, Stefan Hajnoczi wrote: On Mon, Jul 20, 2015 at 2:12 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2015-07-20 14:55 GMT+03:00 zhanghailiang zhang.zhanghaili...@huawei.com: Agreed, besides, it is seemed that slirp is not supporting ipv6, we also have to supplement it.

[Qemu-devel] [POC] colo-proxy in qemu

2015-07-20 Thread Li Zhijian
Hi, all We are planning to implement colo-proxy in qemu to cache and compare packets. This module is one of the important component of COLO project and now it is still in early stage, so any comments and feedback are warmly welcomed, thanks in advance. ## Background COLO FT/HA (COarse-grain

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-20 Thread Stefan Hajnoczi
On Mon, Jul 20, 2015 at 02:42:33PM +0800, Li Zhijian wrote: We are planning to implement colo-proxy in qemu to cache and compare packets. I thought there is a kernel module to do that? Why does the proxy need to be part of the QEMU process? -netdev socket or host network stack features allow

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-20 Thread zhanghailiang
On 2015/7/20 18:32, Stefan Hajnoczi wrote: On Mon, Jul 20, 2015 at 02:42:33PM +0800, Li Zhijian wrote: We are planning to implement colo-proxy in qemu to cache and compare packets. I thought there is a kernel module to do that? Yes, but we decided to re-implement it in userspace (Here is

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-20 Thread Li Zhijian
CC Wen Congyang On 07/20/2015 06:32 PM, Stefan Hajnoczi wrote: On Mon, Jul 20, 2015 at 02:42:33PM +0800, Li Zhijian wrote: We are planning to implement colo-proxy in qemu to cache and compare packets. I thought there is a kernel module to do that? Why does the proxy need to be part of the

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-20 Thread Vasiliy Tolstov
2015-07-20 14:55 GMT+03:00 zhanghailiang zhang.zhanghaili...@huawei.com: Agreed, besides, it is seemed that slirp is not supporting ipv6, we also have to supplement it. patch for ipv6 slirp support some times ago sended to qemu list, but i don't know why in not accepted. -- Vasiliy Tolstov,

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-20 Thread Stefan Hajnoczi
On Mon, Jul 20, 2015 at 2:12 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2015-07-20 14:55 GMT+03:00 zhanghailiang zhang.zhanghaili...@huawei.com: Agreed, besides, it is seemed that slirp is not supporting ipv6, we also have to supplement it. patch for ipv6 slirp support some times ago

Re: [Qemu-devel] [POC] colo-proxy in qemu

2015-07-20 Thread zhanghailiang
On 2015/7/20 23:01, Stefan Hajnoczi wrote: On Mon, Jul 20, 2015 at 2:12 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2015-07-20 14:55 GMT+03:00 zhanghailiang zhang.zhanghaili...@huawei.com: Agreed, besides, it is seemed that slirp is not supporting ipv6, we also have to supplement it.