From patchwork Wed Nov 4 14:49:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 55983 Delivered-To: patch@linaro.org Received: by 10.112.61.134 with SMTP id p6csp2460824lbr; Wed, 4 Nov 2015 06:56:29 -0800 (PST) X-Received: by 10.68.103.227 with SMTP id fz3mr2266393pbb.159.1446648989145; Wed, 04 Nov 2015 06:56:29 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [198.137.202.9]) by mx.google.com with ESMTPS id aj10si423335pbd.109.2015.11.04.06.56.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Nov 2015 06:56:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 198.137.202.9 as permitted sender) client-ip=198.137.202.9; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 198.137.202.9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZtzSz-0006hf-Hb; Wed, 04 Nov 2015 14:55:13 +0000 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZtzRJ-00057s-BX for linux-arm-kernel@lists.infradead.org; Wed, 04 Nov 2015 14:53:32 +0000 Received: by wicfv8 with SMTP id fv8so33842891wic.0 for ; Wed, 04 Nov 2015 06:53:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NyTE+XSBHuuUQOu38GACaN9iAikkZu4yt84HKh+GwUc=; b=APC8LEACxVXS+sk9JpyyNEfZwcRIPI5A++R6MBNv/jy/+7k+YSMLm0h8HloOn0C1EM 0uxjQ5s1GGzrjzHk8ESf65uIniqnM32AXP90mfEOjz5lOojmSgvaKFM7wuuhRJK5pbB2 Gqo3YP5wUUYns7YY9REUw/p/o0tmlXWfv2/hgGphLJ0K0BizEmePz2jlRfEkAfR5SYVq ZOoEPrz/clKVtIr9V1+nVkjFvHSb7VU6UA8+AEtydz1qLxI+ykLpzbCEAzZNa1sWsUjH hN4+FI87BhCR03mZ7xALEqOOlwOCxcNq67OZWIMLLMPIF8cK21vtMI5y1T+XVP6cT0M0 Qu3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NyTE+XSBHuuUQOu38GACaN9iAikkZu4yt84HKh+GwUc=; b=S/v2m+GXk/D4vzIKUStLxfKhaK+xcUm8f0NpOFz/Dj/ZKIx577L56+WOV7zOs05dD2 74+S7oma4jijQJROvDcfwu4k9axbrZY8rVFlQKNJC1BSZCj1OK8VVPZpRGlswQquRvhx gVROVZOCapcNt6XzWerqXdDd8Rl4dNKVwzrdzV3kkWbSTRyKfvP643D4lZWg6rdKRBGK cxKLsiqJhPdkD3+KwEUfYirFMkJJgauWJxa0oyXc2ko3zp+rdai4epRFVIgqbBJLco7o 3AgYGSGlR38OhNu2pgRrFxI6tTn5DBHMhentadz8r9i8GxI7+kiPIGl6AOI90ZJ0dm2Z URtA== X-Gm-Message-State: ALoCoQmCUOv/exdNpa83TSec3pfJjMbLIamOeGdI62Lr7+xSDYqS9KZg2nTCVFB9N4sYZ9x5wmvH X-Received: by 10.194.142.45 with SMTP id rt13mr2579779wjb.45.1446648787558; Wed, 04 Nov 2015 06:53:07 -0800 (PST) Received: from localhost.localdomain ([94.18.191.146]) by smtp.gmail.com with ESMTPSA id e9sm1985081wjw.8.2015.11.04.06.53.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Nov 2015 06:53:06 -0800 (PST) From: Christoffer Dall To: Paolo Bonzini , kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PULL 09/21] arm/arm64: KVM : Enable vhost device selection under KVM config menu Date: Wed, 4 Nov 2015 15:49:48 +0100 Message-Id: <1446648600-27297-10-git-send-email-christoffer.dall@linaro.org> X-Mailer: git-send-email 2.1.2.330.g565301e.dirty In-Reply-To: <1446648600-27297-1-git-send-email-christoffer.dall@linaro.org> References: <1446648600-27297-1-git-send-email-christoffer.dall@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151104_065329_755583_AEE1E8D1 X-CRM114-Status: GOOD ( 12.32 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c05:0:0:0:236 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marc Zyngier , Wei Huang , Christoffer Dall MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org From: Wei Huang vhost drivers provide guest VMs with better I/O performance and lower CPU utilization. This patch allows users to select vhost devices under KVM configuration menu on ARM. This makes vhost support on arm/arm64 on a par with other architectures (e.g. x86, ppc). Signed-off-by: Wei Huang Signed-off-by: Christoffer Dall --- arch/arm/kvm/Kconfig | 2 ++ arch/arm64/kvm/Kconfig | 2 ++ 2 files changed, 4 insertions(+) -- 2.1.2.330.g565301e.dirty _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm/kvm/Kconfig b/arch/arm/kvm/Kconfig index 356970f..95a0005 100644 --- a/arch/arm/kvm/Kconfig +++ b/arch/arm/kvm/Kconfig @@ -46,4 +46,6 @@ config KVM_ARM_HOST ---help--- Provides host support for ARM processors. +source drivers/vhost/Kconfig + endif # VIRTUALIZATION diff --git a/arch/arm64/kvm/Kconfig b/arch/arm64/kvm/Kconfig index 5c7e920..38102f5 100644 --- a/arch/arm64/kvm/Kconfig +++ b/arch/arm64/kvm/Kconfig @@ -41,4 +41,6 @@ config KVM_ARM_HOST ---help--- Provides host support for ARM processors. +source drivers/vhost/Kconfig + endif # VIRTUALIZATION