Messages in this thread | | | From | Anup Patel <> | Date | Mon, 5 Aug 2019 12:42:03 +0530 | Subject | Re: [RFC PATCH v2 10/19] RISC-V: KVM: Handle WFI exits for VCPU |
| |
On Fri, Aug 2, 2019 at 2:33 PM Paolo Bonzini <pbonzini@redhat.com> wrote: > > On 02/08/19 09:47, Anup Patel wrote: > > + if (!kvm_riscv_vcpu_has_interrupt(vcpu)) { > > This can be kvm_arch_vcpu_runnable instead, since kvm_vcpu_block will > check it anyway before sleeping.
I think we can skip this check here because kvm_vcpu_block() is checking it anyway. Agree ??
Regards, Anup
| |