commit | 3444d7da1839b851eefedd372978d8a982316c36 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Mon Jul 26 18:32:38 2010 +0300 |
committer | Avi Kivity <avi@redhat.com> | Mon Aug 02 08:10:18 2010 +0300 |
tree | b9fef27fbe36b455dc242670fa0f4025a2df1dc2 | |
parent | 9a3aad70572c3f4d55e7f09ac4eb313d41d0a484 [diff] |
KVM: VMX: Fix host GDT.LIMIT corruption 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>