Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KVM: x86: Exit to userspace when kvm_check_nested_events fails
If kvm_check_nested_events fails due to raising an EXIT_REASON_INTERNAL_ERROR, propagate it to userspace immediately, even if the vCPU would otherwise be sleeping. This happens for example when the posted interrupt descriptor points outside guest memory. Fixes: 966eefb ("KVM: nVMX: Disable vmcs02 posted interrupts if vmcs12 PID isn't mappable") Cc: stable@vger.kernel.org Reported-by: Jim Mattson <jmattson@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
- Loading branch information