Re: [Xen-devel] [PATCH 07/10] VMX: handle PML enabling in vmx_vcpu_initialise

2015-03-30 Thread Andrew Cooper
On 30/03/15 08:03, Kai Huang wrote: > > > On 03/28/2015 05:12 AM, Andrew Cooper wrote: >> On 27/03/15 02:35, Kai Huang wrote: >>> It's possible domain has already been in log-dirty mode when >>> creating vcpu, in >>> which case we should enable PML for this vcpu if PML has been >>> enabled for the

Re: [Xen-devel] [PATCH 07/10] VMX: handle PML enabling in vmx_vcpu_initialise

2015-03-30 Thread Kai Huang
On 03/28/2015 05:12 AM, Andrew Cooper wrote: On 27/03/15 02:35, Kai Huang wrote: It's possible domain has already been in log-dirty mode when creating vcpu, in which case we should enable PML for this vcpu if PML has been enabled for the domain. Signed-off-by: Kai Huang --- xen/arch/x86/hv

Re: [Xen-devel] [PATCH 07/10] VMX: handle PML enabling in vmx_vcpu_initialise

2015-03-27 Thread Andrew Cooper
On 27/03/15 02:35, Kai Huang wrote: > It's possible domain has already been in log-dirty mode when creating vcpu, in > which case we should enable PML for this vcpu if PML has been enabled for the > domain. > > Signed-off-by: Kai Huang > --- > xen/arch/x86/hvm/vmx/vmx.c | 24 +