]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b153669d38188a1e586de9b4aeda9c9738578a1
tree3597adfee974f5d8e4346f1e83d66ebb310369ed
parenta58e700e62958766d2e65a5add8180e99c9e9f43
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