Re: [PATCH v2 7/9] KVM: improve arch vcpu request defining
From: Cornelia Huck
Date: Thu Apr 27 2017 - 08:11:20 EST
On Wed, 26 Apr 2017 22:32:25 +0200
Radim KrÄmÃÅ <rkrcmar@xxxxxxxxxx> wrote:
> From: Andrew Jones <drjones@xxxxxxxxxx>
>
> Marc Zyngier suggested that we define the arch specific VCPU request
> base, rather than requiring each arch to remember to start from 8.
> That suggestion, along with Radim KrÄmÃÅ's recent VCPU request flag
> addition, snowballed into defining something of an arch VCPU request
> defining API.
>
> No functional change.
>
> (Looks like x86 is running out of arch VCPU request bits. Maybe
> someday we'll need to extend to 64.)
>
> Signed-off-by: Andrew Jones <drjones@xxxxxxxxxx>
> ---
> arch/arm/include/asm/kvm_host.h | 2 +-
> arch/arm64/include/asm/kvm_host.h | 2 +-
> arch/powerpc/include/asm/kvm_host.h | 4 ++--
> arch/s390/include/asm/kvm_host.h | 6 ++---
> arch/x86/include/asm/kvm_host.h | 44 ++++++++++++++++++-------------------
> include/linux/kvm_host.h | 8 +++++++
> 6 files changed, 37 insertions(+), 29 deletions(-)
Reviewed-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>