commit | a9179499350d30446d8983d272a9157963604b0f | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Mon Jan 03 14:28:52 2011 +0200 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Thu Mar 17 13:08:25 2011 -0300 |
tree | 32ad44938298a460f047f16f5942f037c22e853c | |
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>