Skip to content
Commit 6d9658df authored by Ingo Molnar's avatar Ingo Molnar Committed by Avi Kivity
Browse files

KVM: always reload segment selectors



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>
parent 6af11b9e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment