>>> On 13.02.17 at 15:32, <andrew.coop...@citrix.com> wrote:
> A pcpu's LSTAR, STAR and SYSCALL_MASK MSRs are unconditionally switched when
> moving in and out of HVM vcpu context.  Two of these values are compile time
> constants, and the third is directly available in an existing per-cpu
> variable.
> 
> There is no need to save host state in vmx_cpu_up() into a different per-cpu
> structure, so drop all the infrastructure.  vmx_restore_host_msrs() is
> simplified to 3 plain WRMSR instructions.
> 
> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>

Nice.

Reviewed-by: Jan Beulich <jbeul...@suse.com>

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to