diff options
author | Avi Kivity <avi@qumranet.com> | 2007-12-06 18:14:14 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 17:53:19 +0200 |
commit | 6e3d5dfbad4d8c29bdf8ed160f91f955f0efc12b (patch) | |
tree | 914da0fb65504385c1e9e93728517585cea1f780 /drivers/kvm/svm.h | |
parent | 152ff9be2ed11e76ed3014b94eacdd6bc9275518 (diff) | |
download | lwn-6e3d5dfbad4d8c29bdf8ed160f91f955f0efc12b.tar.gz lwn-6e3d5dfbad4d8c29bdf8ed160f91f955f0efc12b.zip |
KVM: x86 emulator: Fix stack instructions on 64-bit mode
Stack instructions are always 64-bit on 64-bit mode; many of the
emulated stack instructions did not take that into account. Fix by
adding a 'Stack' bitflag and setting the operand size appropriately
during the decode stage (except for 'push r/m', which is in a group
with a few other instructions, so it gets its own treatment).
This fixes random crashes on Vista x64.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/svm.h')
0 files changed, 0 insertions, 0 deletions