diff options
author | Avi Kivity <avi@redhat.com> | 2010-09-17 13:13:18 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-26 17:18:34 -0700 |
commit | d963ca2b66d33935a858dc01a899dec0b3c77fc9 (patch) | |
tree | c2f340079a84fdef22573f1556b0c1562ec04b50 /samples | |
parent | 291e06417553bbca9d6cf59d5ac1040a9d71da99 (diff) |
KVM: VMX: Fix host GDT.LIMIT corruption
commit 3444d7da1839b851eefedd372978d8a982316c36 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions