From patchwork Fri Jun 7 23:03:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Daney X-Patchwork-Id: 2691061 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 2001040232 for ; Fri, 7 Jun 2013 23:05:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757889Ab3FGXEq (ORCPT ); Fri, 7 Jun 2013 19:04:46 -0400 Received: from mail-ie0-f170.google.com ([209.85.223.170]:52903 "EHLO mail-ie0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757723Ab3FGXD4 (ORCPT ); Fri, 7 Jun 2013 19:03:56 -0400 Received: by mail-ie0-f170.google.com with SMTP id e14so12152642iej.15 for ; Fri, 07 Jun 2013 16:03:55 -0700 (PDT) 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== X-Received: by 10.50.29.73 with SMTP id i9mr362196igh.105.1370646235908; Fri, 07 Jun 2013 16:03:55 -0700 (PDT) Received: from dl.caveonetworks.com (64.2.3.195.ptr.us.xo.net. [64.2.3.195]) by mx.google.com with ESMTPSA id j3sm1193754igv.4.2013.06.07.16.03.54 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 07 Jun 2013 16:03:55 -0700 (PDT) Received: from dl.caveonetworks.com (localhost.localdomain [127.0.0.1]) by dl.caveonetworks.com (8.14.5/8.14.5) with ESMTP id r57N3rxN006735; Fri, 7 Jun 2013 16:03:53 -0700 Received: (from ddaney@localhost) by dl.caveonetworks.com (8.14.5/8.14.5/Submit) id r57N3rl1006734; Fri, 7 Jun 2013 16:03:53 -0700 From: David Daney To: linux-mips@linux-mips.org, ralf@linux-mips.org, kvm@vger.kernel.org, Sanjay Lal Cc: linux-kernel@vger.kernel.org, David Daney Subject: [PATCH 31/31] mips/kvm: Allow for upto 8 KVM vcpus per vm. Date: Fri, 7 Jun 2013 16:03:35 -0700 Message-Id: <1370646215-6543-32-git-send-email-ddaney.cavm@gmail.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1370646215-6543-1-git-send-email-ddaney.cavm@gmail.com> References: <1370646215-6543-1-git-send-email-ddaney.cavm@gmail.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org From: David Daney The mipsvz implementation allows for SMP, so let's be able to create all those vcpus. Signed-off-by: David Daney Acked-by: Ralf Baechle --- 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 -#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