Re: [Xen-devel] [PATCH V5 12/12] xen/vm_event: Add RESUME option to vm_event_op domctl

2015-02-18 Thread Tamas K Lengyel
On Wed Feb 18 2015 10:31:06 AM CET, Jan Beulich wrote: > > > > On 17.02.15 at 19:32, wrote: > > On Tue, Feb 17, 2015 at 3:31 PM, Jan Beulich wrote: > > > > > > On 13.02.15 at 17:33, wrote: > > > > @@ -611,13 +611,22 @@ int vm_event_domctl(struct domain *d, > > xen_domctl_vm_event_op_t *vec, >

Re: [Xen-devel] [PATCH V5 12/12] xen/vm_event: Add RESUME option to vm_event_op domctl

2015-02-18 Thread Jan Beulich
>>> On 17.02.15 at 19:32, wrote: > On Tue, Feb 17, 2015 at 3:31 PM, Jan Beulich wrote: > On 13.02.15 at 17:33, wrote: >>> @@ -611,13 +611,22 @@ int vm_event_domctl(struct domain *d, > xen_domctl_vm_event_op_t *vec, >>> } >>> break; >>> >>> -case XEN_VM_EVENT_PAGING

Re: [Xen-devel] [PATCH V5 12/12] xen/vm_event: Add RESUME option to vm_event_op domctl

2015-02-17 Thread Tamas K Lengyel
On Tue, Feb 17, 2015 at 3:31 PM, Jan Beulich wrote: On 13.02.15 at 17:33, wrote: >> @@ -611,13 +611,22 @@ int vm_event_domctl(struct domain *d, >> xen_domctl_vm_event_op_t *vec, >> } >> break; >> >> -case XEN_VM_EVENT_PAGING_DISABLE: >> +case XEN_VM_EVENT_D

Re: [Xen-devel] [PATCH V5 12/12] xen/vm_event: Add RESUME option to vm_event_op domctl

2015-02-17 Thread Jan Beulich
>>> On 13.02.15 at 17:33, wrote: > @@ -611,13 +611,22 @@ int vm_event_domctl(struct domain *d, > xen_domctl_vm_event_op_t *vec, > } > break; > > -case XEN_VM_EVENT_PAGING_DISABLE: > +case XEN_VM_EVENT_DISABLE: > { > if ( ved->ring_page ) >

Re: [Xen-devel] [PATCH V5 12/12] xen/vm_event: Add RESUME option to vm_event_op domctl

2015-02-13 Thread Tamas K Lengyel
On Fri, Feb 13, 2015 at 10:44 PM, Andrew Cooper wrote: > On 13/02/15 16:33, Tamas K Lengyel wrote: >> diff --git a/xen/include/public/memory.h b/xen/include/public/memory.h >> index 9c41f5d..334f60e 100644 >> --- a/xen/include/public/memory.h >> +++ b/xen/include/public/memory.h >> @@ -386,9 +386,

Re: [Xen-devel] [PATCH V5 12/12] xen/vm_event: Add RESUME option to vm_event_op domctl

2015-02-13 Thread Andrew Cooper
On 13/02/15 16:33, Tamas K Lengyel wrote: > diff --git a/xen/include/public/memory.h b/xen/include/public/memory.h > index 9c41f5d..334f60e 100644 > --- a/xen/include/public/memory.h > +++ b/xen/include/public/memory.h > @@ -386,9 +386,8 @@ typedef struct xen_mem_paging_op xen_mem_paging_op_t; > D

[Xen-devel] [PATCH V5 12/12] xen/vm_event: Add RESUME option to vm_event_op domctl

2015-02-13 Thread Tamas K Lengyel
Thus far mem_access and mem_sharing memops had been able to signal to Xen to start pulling responses off the corresponding rings. In this patch we retire these memops and add them to the option to the vm_event_op domctl. The vm_event_op domctl suboptions are the same for each ring thus we consolid