diff options
author | Nadav Amit <namit@cs.technion.ac.il> | 2014-09-18 22:39:45 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-03 12:07:21 +0100 |
commit | bf0b682c9b6a6d6d54adf439bfe953feef7be2e8 (patch) | |
tree | 9e344bd659494bcfca3bfc5439fe21fec1dfa68a /scripts | |
parent | 58b7075d059f7d37ca86c76fb1446fa3447b9f4f (diff) | |
download | linux-bf0b682c9b6a6d6d54adf439bfe953feef7be2e8.tar.gz linux-bf0b682c9b6a6d6d54adf439bfe953feef7be2e8.tar.bz2 linux-bf0b682c9b6a6d6d54adf439bfe953feef7be2e8.zip |
KVM: x86: Sysexit emulation does not mask RIP/RSP
If the operand size is not 64-bit, then the sysexit instruction should assign
ECX to RSP and EDX to RIP. The current code assigns the full 64-bits.
Fix it by masking.
Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions