diff options
| author | Avi Kivity <avi@redhat.com> | 2012-05-13 19:53:23 +0300 |
|---|---|---|
| committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-05-16 16:03:19 -0300 |
| commit | 512d5649e8dc3ed36f2ebf0818da64a4d4c2544a (patch) | |
| tree | 75fa25fcf4c7e7fc8f9fc8ab4c2aa01227ab9983 /tools/perf/scripts/python | |
| parent | KVM: x86 emulator: convert bsf/bsr instructions to emulate_2op_SrcV_nobyte() (diff) | |
| download | linux-512d5649e8dc3ed36f2ebf0818da64a4d4c2544a.tar.gz linux-512d5649e8dc3ed36f2ebf0818da64a4d4c2544a.zip | |
KVM: VMX: Fix %ds/%es clobber
The vmx exit code unconditionally restores %ds and %es to __USER_DS. This
can override the user's values, since %ds and %es are not saved and restored
in x86_64 syscalls. In practice, this isn't dangerous since nobody uses
segment registers in long mode, least of all programs that use KVM.
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
