[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v2 0/2] vmx/hap: optimize CR4 trapping



Hello,

Following two-patch series optimize CR4 access for vmx/hap.

I couldn't figure out a similar approach for AMD, since according to
section 15.9 (Instruction Intercepts), you either intercept all access
to CR4 or none. In any case a similar optimization for AMD can always be
added later.

Thanks, Roger.

Roger Pau Monne (2):
  x86/hvm: introduce cr_mask to store trapped bits of CR accesses
  vmx/hap: optimize CR4 trapping

 xen/arch/x86/hvm/svm/vmcb.c    |  1 +
 xen/arch/x86/hvm/vmx/vmcs.c    |  1 +
 xen/arch/x86/hvm/vmx/vmx.c     | 39 +++++++++++++++++++++++++++++++++++++++
 xen/arch/x86/hvm/vmx/vvmx.c    |  2 ++
 xen/arch/x86/monitor.c         |  5 +++--
 xen/include/asm-x86/hvm/vcpu.h |  3 +++
 6 files changed, 49 insertions(+), 2 deletions(-)

-- 
2.16.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.