]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kvm: raise KVM_SOFT_MAX_VCPUS to support more vcpus
authorDan Duval <dan.duval@oracle.com>
Wed, 17 Jun 2015 17:09:26 +0000 (13:09 -0400)
committerDhaval Giani <dhaval.giani@oracle.com>
Mon, 16 Jan 2017 21:40:14 +0000 (16:40 -0500)
commit80e6d7280af49c84d66ad1a8161c75bed4eb635d
tree64040d6c4c727981bf6c04a0426b8bdb321a8ac1
parentc6ab60b80cca54f05d4b89efc9db84f813d104a4
kvm: raise KVM_SOFT_MAX_VCPUS to support more vcpus

Orabug: 24820591

Despite the name, the kernel's manifest constant KVM_SOFT_MAX_VCPUS
defines the hard maximum number of vcpus that libvirt will support.
(When "--vcpus <n>" is specified on the virt-install command line,
the utility queries the kernel via ioctl(..., KVM_CAP_NR_VCPUS)
and uses the returned value as its limit.  Right now, the ioctl
implementation simply returns KVM_SOFT_MAX_VCPUS.)

Signed-off-by: Dan Duval <dan.duval@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
(cherry picked from commit dc6eb6241ff41cd2e5e73bc6ebd71a754fb5333c)
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
Reviewed-by: Chuck Anderson <chuck.anderson@oracle.com>
Conflicts:
arch/x86/include/asm/kvm_host.h

Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
arch/x86/include/asm/kvm_host.h