commit | 6d9658df07789a124e5c1f8677afcd7773439f3e | [log] [tgz] |
---|---|---|
author | Ingo Molnar <mingo@elte.hu> | Sun Mar 11 13:52:33 2007 +0100 |
committer | Avi Kivity <avi@qumranet.com> | Tue Mar 27 17:55:48 2007 +0200 |
tree | ad7b6c562c1d52f9794508c0e29ff18e73bc795e | |
parent | 6af11b9e827aac1d664ccd31e94f122c7698416b [diff] |
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: Ingo Molnar <mingo@elte.hu>