git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a3aad7
)
KVM: VMX: Fix host GDT.LIMIT corruption
author
Avi Kivity
<avi@redhat.com>
Mon, 26 Jul 2010 15:32:38 +0000
(18:32 +0300)
committer
Avi Kivity
<avi@redhat.com>
Mon, 2 Aug 2010 05:10:18 +0000
(08:10 +0300)
vmx does not restore GDT.LIMIT to the host value, instead it sets it to 64KB.
This means host userspace can learn a few bits of host memory.
Fix by reloading GDTR when we load other host state.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
No differences found