Re: [PATCH v4 11/12] KVM: mips, x86: do not rely on KVM_REQ_UNHALT

2022-09-22 Thread Philippe Mathieu-Daudé
On Wed, Sep 21, 2022 at 2:34 AM Sean Christopherson wrote: > > From: Paolo Bonzini > > KVM_REQ_UNHALT is a weird request that simply reports the value of > kvm_arch_vcpu_runnable() on exit from kvm_vcpu_halt(). Only > MIPS and x86 are looking at it, the others just clear it. Check > the state o

[PATCH v4 11/12] KVM: mips, x86: do not rely on KVM_REQ_UNHALT

2022-09-20 Thread Sean Christopherson
From: Paolo Bonzini KVM_REQ_UNHALT is a weird request that simply reports the value of kvm_arch_vcpu_runnable() on exit from kvm_vcpu_halt(). Only MIPS and x86 are looking at it, the others just clear it. Check the state of the vCPU directly so that the request is handled as a nop on all archit