linux/arch/x86/include
Vitaly Kuznetsov 42b933b597 x86/kvm/vmx: read MSR_{FS,KERNEL_GS}_BASE from current->thread
vmx_save_host_state() is only called from kvm_arch_vcpu_ioctl_run() so
the context is pretty well defined. Read MSR_{FS,KERNEL_GS}_BASE from
current->thread after calling save_fsgs() which takes care of
X86_BUG_NULL_SEG case now and will do RD[FG,GS]BASE when FSGSBASE
extensions are exposed to userspace (currently they are not).

Acked-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-03-16 22:03:53 +01:00
..
asm x86/kvm/vmx: read MSR_{FS,KERNEL_GS}_BASE from current->thread 2018-03-16 22:03:53 +01:00
uapi/asm x86/kvm/hyper-v: remove stale entries from vec_bitmap/auto_eoi_bitmap on vector change 2018-03-16 22:01:32 +01:00