linux-mips
[Top] [All Lists]

[PATCH 31/31] mips/kvm: Allow for upto 8 KVM vcpus per vm.

To: linux-mips@linux-mips.org, ralf@linux-mips.org, kvm@vger.kernel.org, Sanjay Lal <sanjayl@kymasys.com>
Subject: [PATCH 31/31] mips/kvm: Allow for upto 8 KVM vcpus per vm.
From: David Daney <ddaney.cavm@gmail.com>
Date: Fri, 7 Jun 2013 16:03:35 -0700
Cc: linux-kernel@vger.kernel.org, David Daney <david.daney@cavium.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=1tpdypQdBsOOxSUEJbpytd1J3vyFnBk8p7KjDIlI8hI=; b=H8NPEWGjumk9Te3ljmYdTYqmMGiHlHCkSXV7n43CbqqOfx4TDET7WKWwOdt2kojbBQ YcnBQT5xqyNoQSwJthWAwghf3ciPMiJMepIv+fvxp+bIXtVvofeINXe2iBMT+ZyYOkKM Pbr6B96L0E9XB3e3IflarOdkBUsCq/WY1B8SG9/OWzS36FrZOiFYxgA1/NYCgh4/oHFU gVOQW+o3dZI5dUZ3QH5hl3Gt0nTo4+jhKSFTcYkcC5MlyqRDh3kGdTbptHIKlTfp1Dwz HUn7/NEhopCOL0XIoV5faUkHtVTx3EC3VXIY/CpkBgSxF3vaO0cwChOrmbUT9tK/cDF5 6Vtg==
In-reply-to: <1370646215-6543-1-git-send-email-ddaney.cavm@gmail.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1370646215-6543-1-git-send-email-ddaney.cavm@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
From: David Daney <david.daney@cavium.com>

The mipsvz implementation allows for SMP, so let's be able to create
all those vcpus.

Signed-off-by: David Daney <david.daney@cavium.com>
---
 arch/mips/include/asm/kvm_host.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/include/asm/kvm_host.h b/arch/mips/include/asm/kvm_host.h
index 9f209e1..0a5e218 100644
--- a/arch/mips/include/asm/kvm_host.h
+++ b/arch/mips/include/asm/kvm_host.h
@@ -20,7 +20,7 @@
 #include <linux/spinlock.h>
 
 
-#define KVM_MAX_VCPUS          1
+#define KVM_MAX_VCPUS          8
 #define KVM_USER_MEM_SLOTS     8
 /* memory slots that does not exposed to userspace */
 #define KVM_PRIVATE_MEM_SLOTS  0
-- 
1.7.11.7


<Prev in Thread] Current Thread [Next in Thread>