Re: [Xen-devel] [PATCH 06/11] VMX/altp2m: add code to support EPTP switching and #VE.

2015-01-16 Thread Ed White
On 01/16/2015 09:50 AM, Tim Deegan wrote: > At 10:55 -0800 on 15 Jan (1421315724), Ed White wrote: >> On 01/15/2015 08:56 AM, Tim Deegan wrote: >>> Hi, >>> >>> At 13:26 -0800 on 09 Jan (1420806396), Ed White wrote: @@ -2551,6 +2640,17 @@ static void vmx_vmexit_ud_intercept(struct cpu_use

Re: [Xen-devel] [PATCH 06/11] VMX/altp2m: add code to support EPTP switching and #VE.

2015-01-16 Thread Tim Deegan
At 10:55 -0800 on 15 Jan (1421315724), Ed White wrote: > On 01/15/2015 08:56 AM, Tim Deegan wrote: > > Hi, > > > > At 13:26 -0800 on 09 Jan (1420806396), Ed White wrote: > >> @@ -2551,6 +2640,17 @@ static void vmx_vmexit_ud_intercept(struct > >> cpu_user_regs *regs) > >> hvm_inject_hw_ex

Re: [Xen-devel] [PATCH 06/11] VMX/altp2m: add code to support EPTP switching and #VE.

2015-01-15 Thread Ed White
On 01/15/2015 08:56 AM, Tim Deegan wrote: > Hi, > > At 13:26 -0800 on 09 Jan (1420806396), Ed White wrote: >> @@ -2551,6 +2640,17 @@ static void vmx_vmexit_ud_intercept(struct >> cpu_user_regs *regs) >> hvm_inject_hw_exception(TRAP_invalid_op, HVM_DELIVER_NO_ERROR_CODE); >> brea

Re: [Xen-devel] [PATCH 06/11] VMX/altp2m: add code to support EPTP switching and #VE.

2015-01-15 Thread Tim Deegan
Hi, At 13:26 -0800 on 09 Jan (1420806396), Ed White wrote: > @@ -2551,6 +2640,17 @@ static void vmx_vmexit_ud_intercept(struct > cpu_user_regs *regs) > hvm_inject_hw_exception(TRAP_invalid_op, HVM_DELIVER_NO_ERROR_CODE); > break; > case X86EMUL_EXCEPTION: > +/* chec

Re: [Xen-devel] [PATCH 06/11] VMX/altp2m: add code to support EPTP switching and #VE.

2015-01-13 Thread Andrew Cooper
On 09/01/15 21:26, Ed White wrote: > Implement and hook up the code to enable VMX support of VMFUNC and #VE. > > VMFUNC leaf 0 (EPTP switching) and #VE are emulated on hardware that > doesn't support them. > > Signed-off-by: Ed White > --- > xen/arch/x86/hvm/vmx/vmx.c | 138 > +++

[Xen-devel] [PATCH 06/11] VMX/altp2m: add code to support EPTP switching and #VE.

2015-01-09 Thread Ed White
Implement and hook up the code to enable VMX support of VMFUNC and #VE. VMFUNC leaf 0 (EPTP switching) and #VE are emulated on hardware that doesn't support them. Signed-off-by: Ed White --- xen/arch/x86/hvm/vmx/vmx.c | 138 + 1 file changed, 138 inse