Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-12 Thread Wen Congyang
...@intel.com; Eddie Dong; rshri...@cs.ubc.ca; Ian Jackson Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time At 2015/6/12 19:48, Paul Durrant Wrote: -Original Message- From: Wen Congyang [mailto:we...@cn.fujitsu.com] Sent: 12 June 2015 12:10 To: Paul

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-12 Thread Paul Durrant
om; Eddie Dong; rshri...@cs.ubc.ca; Ian Jackson > Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq > page only one time > > At 2015/6/12 19:48, Paul Durrant Wrote: > >> -Original Message- > >> From: Wen Congyang [mailto:we...@cn.fujit

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-12 Thread Wen Congyang
; Eddie Dong; rshri...@cs.ubc.ca; Ian Jackson Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time On 06/12/2015 06:54 PM, Paul Durrant wrote: -Original Message- From: Wen Congyang [mailto:we...@cn.fujitsu.com] Sent: 12 June 2015 11:26 To: Paul Durrant

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-12 Thread Paul Durrant
rshri...@cs.ubc.ca; Ian Jackson > Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq > page only one time > > On 06/12/2015 06:54 PM, Paul Durrant wrote: > >> -Original Message- > >> From: Wen Congyang [mailto:we...@cn.fujitsu.com] >

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-12 Thread Wen Congyang
ll; guijianf...@cn.fujitsu.com; >> yunhong.ji...@intel.com; Eddie Dong; rshri...@cs.ubc.ca; Ian Jackson >> Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq >> page only one time >> >> On 06/12/2015 03:41 PM, Paul Durrant wrote: >>>> -Or

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-12 Thread Paul Durrant
rshri...@cs.ubc.ca; Ian Jackson > Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq > page only one time > > On 06/12/2015 03:41 PM, Paul Durrant wrote: > >> -Original Message- > >> From: Wen Congyang [mailto:we...@cn.fujitsu.com] >

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-12 Thread Wen Congyang
ll; guijianf...@cn.fujitsu.com; >> yunhong.ji...@intel.com; Eddie Dong; rshri...@cs.ubc.ca; Ian Jackson >> Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq >> page only one time >> >> On 06/11/2015 09:25 PM, Paul Durrant wrote: >>>> -Orig

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-12 Thread Paul Durrant
rshri...@cs.ubc.ca; Ian Jackson > Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq > page only one time > > On 06/11/2015 09:25 PM, Paul Durrant wrote: > >> -Original Message- > >> From: Yang Hongyang [mailto:yan...@cn.fujitsu.com] >

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-11 Thread Yang Hongyang
On 06/11/2015 08:54 PM, Yang Hongyang wrote: [...] this patch now. Ok, this really is a historical patch... Having tested, it is ok to drop this patch now. Thanks Wen Congyang In our implementation, we don't start a new emulator. The codes can work, but some bugs may be not triggered

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-11 Thread Wen Congyang
ll; guijianf...@cn.fujitsu.com; >> yunhong.ji...@intel.com; Eddie Dong; rshri...@cs.ubc.ca; Ian Jackson >> Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq >> page only one time >> >> >> >> On 06/11/2015 06:20 PM, Paul Durrant w

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-11 Thread Paul Durrant
rshri...@cs.ubc.ca; Ian Jackson > Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq > page only one time > > > > On 06/11/2015 06:20 PM, Paul Durrant wrote: > >> -Original Message- > >> From: Wen Congyang [mailto:we...@cn.fu

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-11 Thread Yang Hongyang
On 06/11/2015 06:20 PM, Paul Durrant wrote: -Original Message- From: Wen Congyang [mailto:we...@cn.fujitsu.com] Sent: 11 June 2015 09:48 To: Paul Durrant; Andrew Cooper; Yang Hongyang; xen-devel@lists.xen.org Cc: Wei Liu; Ian Campbell; guijianf...@cn.fujitsu.com; [...] In our imple

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-11 Thread Yang Hongyang
; guijianf...@cn.fujitsu.com; yunhong.ji...@intel.com; Eddie Dong; rshri...@cs.ubc.ca; Ian Jackson Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time On 06/11/2015 04:32 PM, Paul Durrant wrote: -Original Message- From: Wen Congyang [mailto:we

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-11 Thread Wen Congyang
ll; guijianf...@cn.fujitsu.com; >> yunhong.ji...@intel.com; Eddie Dong; rshri...@cs.ubc.ca; Ian Jackson >> Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq >> page only one time >> >> On 06/11/2015 04:32 PM, Paul Durrant wrote: >>>> -Or

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-11 Thread Paul Durrant
rshri...@cs.ubc.ca; Ian Jackson > Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq > page only one time > > On 06/11/2015 04:32 PM, Paul Durrant wrote: > >> -Original Message- > >> From: Wen Congyang [mailto:we...@cn.fujitsu.com] >

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-11 Thread Wen Congyang
ll; guijianf...@cn.fujitsu.com; >> yunhong.ji...@intel.com; Eddie Dong; rshri...@cs.ubc.ca; Ian Jackson >> Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq >> page only one time >> >> On 06/10/2015 07:47 PM, Paul Durrant wrote: >>>> -Orig

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-11 Thread Paul Durrant
rshri...@cs.ubc.ca; Ian Jackson > Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq > page only one time > > On 06/10/2015 07:47 PM, Paul Durrant wrote: > >> -Original Message- > >> From: xen-devel-boun...@lists.xen.org [mailto:xen-dev

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-10 Thread Wen Congyang
xen-devel@lists.xen.org >> Cc: Wei Liu; Ian Campbell; guijianf...@cn.fujitsu.com; >> yunhong.ji...@intel.com; Eddie Dong; rshri...@cs.ubc.ca; Ian Jackson >> Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq >> page only one time >> >> On 0

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-10 Thread Paul Durrant
...@cn.fujitsu.com; > yunhong.ji...@intel.com; Eddie Dong; rshri...@cs.ubc.ca; Ian Jackson > Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq > page only one time > > On 06/10/2015 06:58 PM, Paul Durrant wrote: > >> -Original Messa

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-10 Thread Wen Congyang
ng.ji...@intel.com; Eddie Dong; >> guijianf...@cn.fujitsu.com; rshri...@cs.ubc.ca; Ian Jackson >> Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq >> page only one time >> >> On 06/10/2015 06:40 PM, Paul Durrant wrote: >>>> -Or

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-10 Thread Paul Durrant
rshri...@cs.ubc.ca; Ian Jackson > Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq > page only one time > > On 06/10/2015 06:40 PM, Paul Durrant wrote: > >> -Original Message- > >> From: Wen Congyang [mailto:we...@cn.fujitsu.com] >

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-10 Thread Wen Congyang
ng.ji...@intel.com; Eddie Dong; >> guijianf...@cn.fujitsu.com; rshri...@cs.ubc.ca; Ian Jackson >> Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq >> page only one time >> >> Cc: Paul Durrant >> >> On 06/10/2015 03:44 PM, Andrew Coope

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-10 Thread Paul Durrant
rshri...@cs.ubc.ca; Ian Jackson > Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq > page only one time > > Cc: Paul Durrant > > On 06/10/2015 03:44 PM, Andrew Cooper wrote: > > On 10/06/2015 06:26, Yang Hongyang wrote: > >> > >> &

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-10 Thread Paul Durrant
fujitsu.com; rshri...@cs.ubc.ca; Ian Jackson > Subject: Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq > page only one time > > On 10/06/15 10:06, Wen Congyang wrote: > > Cc: Paul Durrant > > > > On 06/10/2015 03:44 PM, Andrew Cooper wrote: > >> On 10

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-10 Thread Andrew Cooper
On 10/06/15 10:06, Wen Congyang wrote: > Cc: Paul Durrant > > On 06/10/2015 03:44 PM, Andrew Cooper wrote: >> On 10/06/2015 06:26, Yang Hongyang wrote: >>> >>> On 06/09/2015 03:30 PM, Andrew Cooper wrote: On 09/06/2015 01:59, Yang Hongyang wrote: > > On 06/08/2015 06:15 PM, Andrew Coop

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-10 Thread Wen Congyang
Cc: Paul Durrant On 06/10/2015 03:44 PM, Andrew Cooper wrote: > On 10/06/2015 06:26, Yang Hongyang wrote: >> >> >> On 06/09/2015 03:30 PM, Andrew Cooper wrote: >>> On 09/06/2015 01:59, Yang Hongyang wrote: On 06/08/2015 06:15 PM, Andrew Cooper wrote: > On 08/06/15 10:58, Yang Ho

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-10 Thread Andrew Cooper
On 10/06/2015 06:26, Yang Hongyang wrote: > > > On 06/09/2015 03:30 PM, Andrew Cooper wrote: >> On 09/06/2015 01:59, Yang Hongyang wrote: >>> >>> >>> On 06/08/2015 06:15 PM, Andrew Cooper wrote: On 08/06/15 10:58, Yang Hongyang wrote: > > > On 06/08/2015 05:46 PM, Andrew Cooper wro

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-09 Thread Yang Hongyang
On 06/09/2015 03:30 PM, Andrew Cooper wrote: On 09/06/2015 01:59, Yang Hongyang wrote: On 06/08/2015 06:15 PM, Andrew Cooper wrote: On 08/06/15 10:58, Yang Hongyang wrote: On 06/08/2015 05:46 PM, Andrew Cooper wrote: On 08/06/15 04:43, Yang Hongyang wrote: ioreq page contains evtchn wh

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-09 Thread Andrew Cooper
On 09/06/2015 01:59, Yang Hongyang wrote: > > > On 06/08/2015 06:15 PM, Andrew Cooper wrote: >> On 08/06/15 10:58, Yang Hongyang wrote: >>> >>> >>> On 06/08/2015 05:46 PM, Andrew Cooper wrote: On 08/06/15 04:43, Yang Hongyang wrote: > ioreq page contains evtchn which will be set when we re

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-08 Thread Yang Hongyang
On 06/08/2015 06:15 PM, Andrew Cooper wrote: On 08/06/15 10:58, Yang Hongyang wrote: On 06/08/2015 05:46 PM, Andrew Cooper wrote: On 08/06/15 04:43, Yang Hongyang wrote: ioreq page contains evtchn which will be set when we resume the secondary vm the first time. The hypervisor will check i

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-08 Thread Andrew Cooper
On 08/06/15 10:58, Yang Hongyang wrote: > > > On 06/08/2015 05:46 PM, Andrew Cooper wrote: >> On 08/06/15 04:43, Yang Hongyang wrote: >>> ioreq page contains evtchn which will be set when we resume the >>> secondary vm the first time. The hypervisor will check if the >>> evtchn is corrupted, so we

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-08 Thread Yang Hongyang
On 06/08/2015 05:46 PM, Andrew Cooper wrote: On 08/06/15 04:43, Yang Hongyang wrote: ioreq page contains evtchn which will be set when we resume the secondary vm the first time. The hypervisor will check if the evtchn is corrupted, so we cannot zero the ioreq page more than one time. The iore

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-08 Thread Andrew Cooper
On 08/06/15 10:46, Andrew Cooper wrote: > On 08/06/15 04:43, Yang Hongyang wrote: >> ioreq page contains evtchn which will be set when we resume the >> secondary vm the first time. The hypervisor will check if the >> evtchn is corrupted, so we cannot zero the ioreq page more >> than one time. >> >>

Re: [Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-08 Thread Andrew Cooper
On 08/06/15 04:43, Yang Hongyang wrote: > ioreq page contains evtchn which will be set when we resume the > secondary vm the first time. The hypervisor will check if the > evtchn is corrupted, so we cannot zero the ioreq page more > than one time. > > The ioreq->state is always STATE_IOREQ_NONE aft

[Xen-devel] [PATCH v2 COLOPre 03/13] libxc/restore: zero ioreq page only one time

2015-06-07 Thread Yang Hongyang
ioreq page contains evtchn which will be set when we resume the secondary vm the first time. The hypervisor will check if the evtchn is corrupted, so we cannot zero the ioreq page more than one time. The ioreq->state is always STATE_IOREQ_NONE after the vm is suspended, so it is OK if we only zero