From patchwork Mon Jan 9 06:23:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jintack Lim X-Patchwork-Id: 9503789 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 265A66071A for ; Mon, 9 Jan 2017 06:25:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 170A42811C for ; Mon, 9 Jan 2017 06:25:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0BA642817F; Mon, 9 Jan 2017 06:25:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DBC22811C for ; Mon, 9 Jan 2017 06:25:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S939365AbdAIGZj (ORCPT ); Mon, 9 Jan 2017 01:25:39 -0500 Received: from outprodmail02.cc.columbia.edu ([128.59.72.51]:51758 "EHLO outprodmail02.cc.columbia.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760521AbdAIGZf (ORCPT ); Mon, 9 Jan 2017 01:25:35 -0500 Received: from hazelnut (hazelnut.cc.columbia.edu [128.59.213.250]) by outprodmail02.cc.columbia.edu (8.14.4/8.14.4) with ESMTP id v096PXAx005328 for ; Mon, 9 Jan 2017 01:25:33 -0500 Received: from hazelnut (localhost.localdomain [127.0.0.1]) by hazelnut (Postfix) with ESMTP id DC8CB7E for ; Mon, 9 Jan 2017 01:25:33 -0500 (EST) Received: from sendprodmail04.cc.columbia.edu (sendprodmail04.cc.columbia.edu [128.59.72.16]) by hazelnut (Postfix) with ESMTP id BD4FD8B for ; Mon, 9 Jan 2017 01:25:33 -0500 (EST) Received: from mail-qk0-f199.google.com (mail-qk0-f199.google.com [209.85.220.199]) by sendprodmail04.cc.columbia.edu (8.14.4/8.14.4) with ESMTP id v096PXg7004360 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 9 Jan 2017 01:25:33 -0500 Received: by mail-qk0-f199.google.com with SMTP id a195so63256903qkg.3 for ; Sun, 08 Jan 2017 22:25:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bH8U+aKhwA1fH62Gimwuyq4BxxeHy9XFKgR3ASywMQ8=; b=RS16VgjRTHFXhVLy6lGcBgARZP+zk1VDYIXMOhBznDh5d2x4bmtr4yFuhhwZgt5do7 uMnit6h9kAmOYLRGPlldZXdCgnrPdhN8gc2XEbdknFQ58z/JRFywuuT5TALFYaSmw32E O84RWA3PhYEjUDDOMlMwq4LNxC+5voblzGmRjIUQSDpzXOwwzA8E/vgW6JWRlPGIii1y YudWcrNbxn3ad0C41HoPf+ro++kmBQ2bIVFgFS2527KVjzl3jThTD9JRuSMM9uoLDqWe 5PyoEQc6z0yquZoRGdQEjOADzCYxH9YWlO/ln2mtXqd0yau968rxTvvPnPOCnuHimpYC TPqQ== X-Gm-Message-State: AIkVDXLYvqh4rF3k4jdWNzpyC/Tu9lnPLhQulktlCXCii6JFPN4a+Z8V0vz2QedpjiTjGmT0uPw4oxMVXMtLRMaF+ULAvg/zzo2POpQfWXYHV0EtlcSkN7tMiYVB7tGnSsCT+6ZqNmJGbdg= X-Received: by 10.200.33.244 with SMTP id 49mr81158926qtz.70.1483943133381; Sun, 08 Jan 2017 22:25:33 -0800 (PST) X-Received: by 10.200.33.244 with SMTP id 49mr81158899qtz.70.1483943133224; Sun, 08 Jan 2017 22:25:33 -0800 (PST) Received: from jintack.cs.columbia.edu ([2001:18d8:ffff:16:21a:4aff:feaa:f900]) by smtp.gmail.com with ESMTPSA id h3sm8623257qtc.6.2017.01.08.22.25.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 Jan 2017 22:25:32 -0800 (PST) From: Jintack Lim To: christoffer.dall@linaro.org, marc.zyngier@arm.com, pbonzini@redhat.com, rkrcmar@redhat.com, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, vladimir.murzin@arm.com, suzuki.poulose@arm.com, mark.rutland@arm.com, james.morse@arm.com, lorenzo.pieralisi@arm.com, kevin.brodsky@arm.com, wcohen@redhat.com, shankerd@codeaurora.org, geoff@infradead.org, andre.przywara@arm.com, eric.auger@redhat.com, anna-maria@linutronix.de, shihwei@cs.columbia.edu, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: jintack@cs.columbia.edu Subject: [RFC 02/55] KVM: arm64: Add nesting config option Date: Mon, 9 Jan 2017 01:23:58 -0500 Message-Id: <1483943091-1364-3-git-send-email-jintack@cs.columbia.edu> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1483943091-1364-1-git-send-email-jintack@cs.columbia.edu> References: <1483943091-1364-1-git-send-email-jintack@cs.columbia.edu> X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.78 on 128.59.72.16 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Christoffer Dall Add an option that allows nested hypervisor support. Signed-off-by: Christoffer Dall Signed-off-by: Jintack Lim --- arch/arm64/kvm/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/kvm/Kconfig b/arch/arm64/kvm/Kconfig index 6eaf12c..37263ff 100644 --- a/arch/arm64/kvm/Kconfig +++ b/arch/arm64/kvm/Kconfig @@ -57,6 +57,12 @@ config KVM_ARM_PMU Adds support for a virtual Performance Monitoring Unit (PMU) in virtual machines. +config KVM_ARM_NESTED_HYP + bool "Nested Virtualization" + depends on KVM + ---help--- + Support nested hypervisors in VMs. + source drivers/vhost/Kconfig endif # VIRTUALIZATION