summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-01-03 12:28:52 (GMT)
committerMarcelo Tosatti <mtosatti@redhat.com>2011-03-17 16:08:25 (GMT)
commita9179499350d30446d8983d272a9157963604b0f (patch)
tree32ad44938298a460f047f16f5942f037c22e853c /arch/x86/kvm/svm.c
parentd0ba64f9b4b3e41e7b91681fe04a334bc8bfc8f5 (diff)
downloadlinux-fsl-qoriq-a9179499350d30446d8983d272a9157963604b0f.tar.xz
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 'arch/x86/kvm/svm.c')
0 files changed, 0 insertions, 0 deletions