Re: [PATCH v2 0/5] KVM: rename and encapsulate vcpu->requests API

From: Andrew Jones
Date: Mon Feb 27 2017 - 04:13:10 EST


On Fri, Feb 24, 2017 at 08:49:57PM +0100, Radim KrÄmÃÅ wrote:
> v1: http://www.spinics.net/lists/kvm/msg145145.html
>
> Discussions around v1 were mostly concerned with various requirements
> for guest kicks and synchronization.
> Here is the mostly undisputed core. I think these patches are
> worthwhile even alone.
>
> v2:
> * removed the memory barrier optimization (Paolo)
> * added a MIPS cleanup, [4/5]
>
>
> Radim KrÄmÃÅ (5):
> KVM: rename API for requests to match bit operations
> KVM: add KVM request variants without barrier
> KVM: add kvm_request_pending
> KVM: MIPS: remove useless kvm_request_clear
> KVM: optimize kvm_make_all_cpus_request

For the series

Reviewed-by: Andrew Jones <drjones@xxxxxxxxxx>

>
> arch/mips/kvm/emulate.c | 3 +-
> arch/mips/kvm/trap_emul.c | 4 +-
> arch/powerpc/kvm/book3s_pr.c | 4 +-
> arch/powerpc/kvm/book3s_pr_papr.c | 2 +-
> arch/powerpc/kvm/booke.c | 22 +++---
> arch/powerpc/kvm/powerpc.c | 8 +--
> arch/s390/kvm/kvm-s390.c | 26 +++----
> arch/s390/kvm/kvm-s390.h | 4 +-
> arch/s390/kvm/priv.c | 4 +-
> arch/x86/kvm/hyperv.c | 14 ++--
> arch/x86/kvm/i8259.c | 2 +-
> arch/x86/kvm/lapic.c | 22 +++---
> arch/x86/kvm/mmu.c | 14 ++--
> arch/x86/kvm/pmu.c | 6 +-
> arch/x86/kvm/svm.c | 12 ++--
> arch/x86/kvm/vmx.c | 32 ++++-----
> arch/x86/kvm/x86.c | 144 +++++++++++++++++++-------------------
> include/linux/kvm_host.h | 64 ++++++++++++++---
> virt/kvm/kvm_main.c | 8 ++-
> 19 files changed, 220 insertions(+), 175 deletions(-)
>
> --
> 2.11.1
>