Re: [PATCH] KVM: x86: Exit to userspace when kvm_check_nested_events fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux