summaryrefslogtreecommitdiffstats
path: root/Documentation/virtual
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2016-12-13 22:39:39 +0000
committerJames Hogan <james.hogan@imgtec.com>2017-02-03 15:21:34 +0000
commit12ed1faece3f141c2604b5b3a8377ba71d23ec9d (patch)
tree44812ac2820a6a3d95dba98964c9733cdba3707d /Documentation/virtual
parentad58d4d4a274e9290725188c557d16e7d0cd1b3d (diff)
downloadop-kernel-dev-12ed1faece3f141c2604b5b3a8377ba71d23ec9d.zip
op-kernel-dev-12ed1faece3f141c2604b5b3a8377ba71d23ec9d.tar.gz
KVM: MIPS: Allow multiple VCPUs to be created
Increase the maximum number of MIPS KVM VCPUs to 8, and implement the KVM_CAP_NR_VCPUS and KVM_CAP_MAX_CPUS capabilities which expose the recommended and maximum number of VCPUs to userland. The previous maximum of 1 didn't allow for any form of SMP guests. We calculate the values similarly to ARM, recommending as many VCPUs as there are CPUs online in the system. This will allow userland to know how many VCPUs it is possible to create. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: "Radim Krčmář" <rkrcmar@redhat.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org
Diffstat (limited to 'Documentation/virtual')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud