• Ingo Molnar's avatar
    KVM: always reload segment selectors · 6d9658df
    Ingo Molnar authored
    failed VM entry on VMX might still change %fs or %gs, thus make sure
    that KVM always reloads the segment selectors. This is crutial on both
    x86 and x86_64: x86 has __KERNEL_PDA in %fs on which things like
    'current' depends and x86_64 has 0 there and needs MSR_GS_BASE to work.
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    6d9658df
vmx.c 52.5 KB