KVM: x86/xen: handle PV IPI vcpu yield
authorJoao Martins <joao.m.martins@oracle.com>
Thu, 3 Mar 2022 15:41:20 +0000 (15:41 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 2 Apr 2022 09:41:15 +0000 (05:41 -0400)
commit0ec6c5c5bb6585320a2e51a316c2fd381fdec836
tree3597adfee974f5d8e4346f1e83d66ebb310369ed
parent2fd6df2f2b47d4301b1ee0fe9d627d1c061a5988
KVM: x86/xen: handle PV IPI vcpu yield

Cooperative Linux guests after an IPI-many may yield vcpu if
any of the IPI'd vcpus were preempted (i.e. runstate is 'runnable'.)
Support SCHEDOP_yield for handling yield.

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220303154127.202856-11-dwmw2@infradead.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/xen.c