diff options
author | Denis Valeev <[email protected]> | 2022-01-22 23:13:57 +0300 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-01-26 12:14:59 -0500 |
commit | 47c28d436f409f5b009dc82bd82d4971088aa391 (patch) | |
tree | 198aafde66380607f17602b1b549876f752ad7f3 /scripts/gdb/linux/mm.py | |
parent | 1ffce0924a8c86cf0590c039cd5f5c9375d32e9b (diff) |
KVM: x86: nSVM: skip eax alignment check for non-SVM instructions
The bug occurs on #GP triggered by VMware backdoor when eax value is
unaligned. eax alignment check should not be applied to non-SVM
instructions because it leads to incorrect omission of the instructions
emulation.
Apply the alignment check only to SVM instructions to fix.
Fixes: d1cba6c92237 ("KVM: x86: nSVM: test eax for 4K alignment for GP errata workaround")
Signed-off-by: Denis Valeev <[email protected]>
Message-Id: <Yexlhaoe1Fscm59u@q>
Cc: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions