diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-01-11 16:55:24 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-01-11 16:55:24 +0100 |
commit | bd89525a823ce6edddcedbe9aed79faa1b9cf544 (patch) | |
tree | 0fa8919b8016ba59387b83ca38c0d39cf99bbb73 /arch/arm | |
parent | ab271bd4dfd568060ffcf5a21b667c7c5df7ab99 (diff) |
KVM: x86: emulate #UD while in guest mode
This reverts commits ae1f57670703656cc9f293722c3b8b6782f8ab3f
and ac9b305caa0df6f5b75d294e4b86c1027648991e.
If the hardware doesn't support MOVBE, but L0 sets CPUID.01H:ECX.MOVBE
in L1's emulated CPUID information, then L1 is likely to pass that
CPUID bit through to L2. L2 will expect MOVBE to work, but if L1
doesn't intercept #UD, then any MOVBE instruction executed in L2 will
raise #UD, and the exception will be delivered in L2.
Commit ac9b305caa0df6f5b75d294e4b86c1027648991e is a better and more
complete version of ae1f57670703 ("KVM: nVMX: Do not emulate #UD while
in guest mode"); however, neither considers the above case.
Suggested-by: Jim Mattson <jmattson@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions