]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
KVM: improve arch vcpu request defining
authorAndrew Jones <drjones@redhat.com>
Sun, 4 Jun 2017 12:43:51 +0000 (14:43 +0200)
committerChristoffer Dall <cdall@linaro.org>
Sun, 4 Jun 2017 14:53:00 +0000 (16:53 +0200)
commit2387149eade25f32dcf1398811b3d0293181d005
treeec73541bd9dd64aec5a9923a5378574ce2fcd1cc
parent0710f9a637ef209e53c8127cf588a46130fcdcc5
KVM: improve arch vcpu request defining

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 Krcmar'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>
Acked-by: Christoffer Dall <cdall@linaro.org>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
arch/arm/include/asm/kvm_host.h
arch/arm64/include/asm/kvm_host.h
arch/powerpc/include/asm/kvm_host.h
arch/s390/include/asm/kvm_host.h
arch/x86/include/asm/kvm_host.h
include/linux/kvm_host.h