]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: x86/xen: handle PV IPI vcpu yield
authorJoao Martins <joao.m.martins@oracle.com>
Tue, 5 Feb 2019 16:24:47 +0000 (11:24 -0500)
committerJoao Martins <joao.m.martins@oracle.com>
Wed, 20 Feb 2019 17:30:52 +0000 (12:30 -0500)
commitaa560d91313d9f68bb07b4d3710119bca5d7b548
treee5b5370751525f4da3de2f2e26b91d9684871e97
parent06c741b459ab0f48e5abbd2141673446845b5a99
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>
arch/x86/kvm/xen.c