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 /block | |
parent | d54e4237bcbb400fda11c902fd538aa0b4805720 (diff) |
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 'block')
0 files changed, 0 insertions, 0 deletions