Re: [PATCH] KVM: x86: Exit to userspace when kvm_check_nested_events fails
From: Paolo Bonzini
Date: Wed Jul 28 2021 - 11:55:46 EST
On 28/07/21 14:39, Vitaly Kuznetsov wrote:
Shouldn't we also change kvm_arch_vcpu_runnable() and check
'kvm_vcpu_running() > 0' now?
I think leaving kvm_vcpu_block on error is the better choice, so it
should be good with returning true if kvm_vcpu_running(vcpu) < 0.
Paolo