]> xenbits.xensource.com Git - xen.git/commit
x86/vmx: Don't use rdmsr() to fill HOST_SYSENTER_{CS,EIP}
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 20 Oct 2017 13:56:23 +0000 (14:56 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 1 Dec 2017 19:03:27 +0000 (19:03 +0000)
commitfe957b30ef5dd9e34ac057a48d8dad0b7ab5e574
treeadcea5a4ccfb643fda7670a48b3f9c8ae62e0342
parentcec618383b3d8e03411a6abb194fd63b15f4444e
x86/vmx: Don't use rdmsr() to fill HOST_SYSENTER_{CS,EIP}

These are compile-time constants, and don't need to be read back from
hardware.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vmcs.c