Re: [Xen-devel] [PATCH] vm_event: make sure the domain is paused in key domctls

2016-01-28 Thread Razvan Cojocaru
On 01/29/2016 08:52 AM, Razvan Cojocaru wrote: > On 01/28/2016 11:47 PM, Tamas K Lengyel wrote: >> >> >> On Thu, Jan 28, 2016 at 2:05 PM, Razvan Cojocaru >> mailto:rcojoc...@bitdefender.com>> wrote: >> >> On 01/28/2016 10:09 PM, Tamas K Lengyel wrote: >> > On Thu, Jan 28, 2016 at 6:52 AM, R

Re: [Xen-devel] [PATCH] vm_event: make sure the domain is paused in key domctls

2016-01-28 Thread Razvan Cojocaru
On 01/28/2016 11:47 PM, Tamas K Lengyel wrote: > > > On Thu, Jan 28, 2016 at 2:05 PM, Razvan Cojocaru > mailto:rcojoc...@bitdefender.com>> wrote: > > On 01/28/2016 10:09 PM, Tamas K Lengyel wrote: > > On Thu, Jan 28, 2016 at 6:52 AM, Razvan Cojocaru > > mailto:rcojoc...@bitdefender.c

Re: [Xen-devel] [PATCH] vm_event: make sure the domain is paused in key domctls

2016-01-28 Thread Tamas K Lengyel
On Thu, Jan 28, 2016 at 2:05 PM, Razvan Cojocaru wrote: > On 01/28/2016 10:09 PM, Tamas K Lengyel wrote: > > On Thu, Jan 28, 2016 at 6:52 AM, Razvan Cojocaru > > mailto:rcojoc...@bitdefender.com>> wrote: > > > > This patch pauses the domain for all writes through the 'ad' > > pointer in m

Re: [Xen-devel] [PATCH] vm_event: make sure the domain is paused in key domctls

2016-01-28 Thread Razvan Cojocaru
On 01/28/2016 10:09 PM, Tamas K Lengyel wrote: > On Thu, Jan 28, 2016 at 6:52 AM, Razvan Cojocaru > mailto:rcojoc...@bitdefender.com>> wrote: > > This patch pauses the domain for all writes through the 'ad' > pointer in monitor_domctl(), defers a domain_unpause() call until > after the

Re: [Xen-devel] [PATCH] vm_event: make sure the domain is paused in key domctls

2016-01-28 Thread Tamas K Lengyel
On Thu, Jan 28, 2016 at 6:52 AM, Razvan Cojocaru wrote: > This patch pauses the domain for all writes through the 'ad' > pointer in monitor_domctl(), defers a domain_unpause() call until > after the CRs are updated for the MONITOR_EVENT_WRITE_CTRLREG > case, and makes sure that the domain is paus

Re: [Xen-devel] [PATCH] vm_event: make sure the domain is paused in key domctls

2016-01-28 Thread Razvan Cojocaru
On 01/28/2016 04:10 PM, Andrew Cooper wrote: > On 28/01/16 13:52, Razvan Cojocaru wrote: >> This patch pauses the domain for all writes through the 'ad' >> pointer in monitor_domctl(), defers a domain_unpause() call until >> after the CRs are updated for the MONITOR_EVENT_WRITE_CTRLREG >> case, and

Re: [Xen-devel] [PATCH] vm_event: make sure the domain is paused in key domctls

2016-01-28 Thread Razvan Cojocaru
On 01/28/2016 04:10 PM, Andrew Cooper wrote: > On 28/01/16 13:52, Razvan Cojocaru wrote: >> This patch pauses the domain for all writes through the 'ad' >> pointer in monitor_domctl(), defers a domain_unpause() call until >> after the CRs are updated for the MONITOR_EVENT_WRITE_CTRLREG >> case, and

Re: [Xen-devel] [PATCH] vm_event: make sure the domain is paused in key domctls

2016-01-28 Thread Andrew Cooper
On 28/01/16 13:52, Razvan Cojocaru wrote: > This patch pauses the domain for all writes through the 'ad' > pointer in monitor_domctl(), defers a domain_unpause() call until > after the CRs are updated for the MONITOR_EVENT_WRITE_CTRLREG > case, and makes sure that the domain is paused for both vm_e

[Xen-devel] [PATCH] vm_event: make sure the domain is paused in key domctls

2016-01-28 Thread Razvan Cojocaru
This patch pauses the domain for all writes through the 'ad' pointer in monitor_domctl(), defers a domain_unpause() call until after the CRs are updated for the MONITOR_EVENT_WRITE_CTRLREG case, and makes sure that the domain is paused for both vm_event enable and disable cases in vm_event_domctl()