]> xenbits.xensource.com Git - people/julieng/xen-unstable.git/commit
vVMX: use latched VMCS machine address
authorJan Beulich <jbeulich@suse.com>
Tue, 24 Nov 2015 11:07:27 +0000 (12:07 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 24 Nov 2015 11:07:27 +0000 (12:07 +0100)
commitd02e84b9d9d16b6b56186f0dfdcb3c90b83c82a3
tree604371a8a7e302871dde8b649308ec7f65263c16
parent3b47431691409004c7218f6a6ba5c9c0bcf483ea
vVMX: use latched VMCS machine address

Instead of calling domain_page_map_to_mfn() over and over, latch the
guest VMCS machine address unconditionally (i.e. independent of whether
VMCS shadowing is supported by the hardware).

Since this requires altering the parameters of __[gs]et_vmcs{,_real}()
(and hence all their callers) anyway, take the opportunity to also drop
the bogus double underscores from their names (and from
__[gs]et_vmcs_virtual() as well).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/intr.c
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/hvm/vmx/vvmx.c
xen/include/asm-x86/hvm/vmx/vmcs.h
xen/include/asm-x86/hvm/vmx/vvmx.h