diff options
author | Avi Kivity <avi@redhat.com> | 2011-01-03 14:28:52 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-03-17 13:08:25 -0300 |
commit | a9179499350d30446d8983d272a9157963604b0f (patch) | |
tree | 32ad44938298a460f047f16f5942f037c22e853c /net/caif | |
parent | d0ba64f9b4b3e41e7b91681fe04a334bc8bfc8f5 (diff) |
KVM: VMX: Avoid leaking fake realmode state to userspace
When emulating real mode, we fake some state:
- tr.base points to a fake vm86 tss
- segment registers are made to conform to vm86 restrictions
change vmx_get_segment() not to expose this fake state to userspace;
instead, return the original state.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'net/caif')
0 files changed, 0 insertions, 0 deletions