]> Git Repo - linux.git/commit - arch/x86/kvm/svm.c
KVM: Correct ordering of ldt reload wrt fs/gs reload
authorAvi Kivity <[email protected]>
Tue, 19 Oct 2010 16:48:35 +0000 (18:48 +0200)
committerMarcelo Tosatti <[email protected]>
Wed, 17 Nov 2010 21:47:59 +0000 (19:47 -0200)
commit0a77fe4c188e25917799f2356d4aa5e6d80c39a2
treeaed5a7a44ac832a0cc0f63c9eaa760448eacc117
parent59365d136d205cc20fe666ca7f89b1c5001b0d5a
KVM: Correct ordering of ldt reload wrt fs/gs reload

If fs or gs refer to the ldt, they must be reloaded after the ldt.  Reorder
the code to that effect.

Userspace code that uses the ldt with kvm is nonexistent, so this doesn't fix
a user-visible bug.

Signed-off-by: Avi Kivity <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
This page took 0.052453 seconds and 4 git commands to generate.