From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: KVM: x86: increase recommended max vcpus to 160 Date: Fri, 3 Feb 2012 12:28:31 -0200 Message-ID: <20120203142831.GA32610@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: kvm Return-path: Received: from mx1.redhat.com ([209.132.183.28]:20284 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756589Ab2BCOaR (ORCPT ); Fri, 3 Feb 2012 09:30:17 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q13EUHkG003537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 3 Feb 2012 09:30:17 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q13EUGD1018737 for ; Fri, 3 Feb 2012 09:30:16 -0500 Received: from amt.cnet (vpn-8-106.rdu.redhat.com [10.11.8.106]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id q13EUFC9020677 for ; Fri, 3 Feb 2012 09:30:16 -0500 Received: from amt.cnet (amt.cnet [127.0.0.1]) by amt.cnet (Postfix) with ESMTP id E540D68A007 for ; Fri, 3 Feb 2012 12:28:31 -0200 (BRST) Received: (from marcelo@localhost) by amt.cnet (8.14.5/8.14.5/Submit) id q13ESV6Y032626 for kvm@vger.kernel.org; Fri, 3 Feb 2012 12:28:31 -0200 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: Increase recommended max vcpus from 64 to 160 (tested internally at Red Hat). Signed-off-by: Marcelo Tosatti diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 4610166..782d973 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -29,7 +29,7 @@ #include #define KVM_MAX_VCPUS 254 -#define KVM_SOFT_MAX_VCPUS 64 +#define KVM_SOFT_MAX_VCPUS 160 #define KVM_MEMORY_SLOTS 32 /* memory slots that does not exposed to userspace */ #define KVM_PRIVATE_MEM_SLOTS 4