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 /tools/perf/scripts/python | |
| parent | KVM: VMX: Save and restore tr selector across mode switches (diff) | |
| download | linux-a9179499350d30446d8983d272a9157963604b0f.tar.gz linux-a9179499350d30446d8983d272a9157963604b0f.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
