Re: [PATCH v2 7/9] KVM: improve arch vcpu request defining

Cornelia Huck
2017-04-27T12:11:13Z

On Wed, 26 Apr 2017 22:32:25 +0200
Radim Krčmář <rkrcmar@redhat.com> wrote:

> From: Andrew Jones <drjones@redhat.com>
>
> 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@redhat.com>
> ---
> 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@de.ibm.com>