commit | 82268083fa78452c1c8be30a82984e470d9678c7 | [log] [tgz] |
---|---|---|
author | Nadav Amit <namit@cs.technion.ac.il> | Mon Jan 26 09:32:27 2015 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jan 26 12:17:34 2015 +0100 |
tree | 94b353219e729453843c1199c68de06eb9703d78 | |
parent | bac155310be35e0fa64b066d47625d2a12a75122 [diff] |
KVM: x86: Emulation of call may use incorrect stack size On long-mode, when far call that changes cs.l takes place, the stack size is determined by the new mode. For instance, if we go from 32-bit mode to 64-bit mode, the stack-size if 64. KVM uses the old stack size. Fix it. Signed-off-by: Nadav Amit <namit@cs.technion.ac.il> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>