Received: by 10.213.65.68 with SMTP id h4csp675109imn; Tue, 20 Mar 2018 12:25:23 -0700 (PDT) X-Google-Smtp-Source: AG47ELu2L4J/nmGIqJMuPQIOeoBYFLxiNFglRbi0J8trfQRMo9vvRKauXOp41HNy98c75yhBE1Ez X-Received: by 2002:a17:902:8c94:: with SMTP id t20-v6mr8418101plo.95.1521573923591; Tue, 20 Mar 2018 12:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521573923; cv=none; d=google.com; s=arc-20160816; b=XytLmjoZk4B1jD/mkYVkHQkfZd1C5EE8IyQog05iEP2ATW+MJi7jTtTI/E9zIzfyoM hP69qujdIiUj5t5d9zoUJULeuPsUJ6EtP2knKnTLdmUkHCEAp6EeAn+j5C9P0fEj8p+b c2mPLOjvAdylQYiB+X5lV6jLTyblbfQ8DCup0VnqAw5zESA00RKVZRQENi2olpgEk48u QLUMfTWovk3Zzp+QDsphP7LHEv09rqW+rRoj7vLwG//r1PVqCbKa38E6XV+jBbqhx5Jl qcrf28xFEF3s28FN8iKyfdzCkx3Jc5XMwT43oNLOKX5oh1dADxuDS5k8rzQ2ABXqbbG6 rrxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=kALcg+ZKoUdqgkEHvSYimS074wZ8MXvEDVv4m83SIAc=; b=crDWcpM1af2uZOMzqm7SibjgEZU3aABpNTd8Wh+KWCm2DR2vjfNabKw/jBWg3+g4iq PrXxG9EunHVQPWzfWBX0jmIDgasB/4dZ6QfQ9PzXQN2MN/FVFrHxHqmanM0UrOz0cvbF NLzKrZ9qt7U0kGaXj/y3OE5SPlGKkd0RoPLYby9GCfS9EaRBuetlBHhg6WZOJ5gfPQgy Hh8hGOSdOgfbdwUbq2rhfxrlcfheeUKMCXTCCYtjH26FEZxC2GPyIOgfPiahri5qa0dC r4+zttF/vj4yZeHtpAITeQnpdZ0D1xYCh0Na3aTHxm9dTWYqy+D+CGy6kRlu9M3NXI6Z Ic7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=g48vPKiA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p3si1602646pgc.805.2018.03.20.12.25.08; Tue, 20 Mar 2018 12:25:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=g48vPKiA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751524AbeCTTYM (ORCPT + 99 others); Tue, 20 Mar 2018 15:24:12 -0400 Received: from merlin.infradead.org ([205.233.59.134]:39444 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751317AbeCTTYK (ORCPT ); Tue, 20 Mar 2018 15:24:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kALcg+ZKoUdqgkEHvSYimS074wZ8MXvEDVv4m83SIAc=; b=g48vPKiA9laGE7dggS+yIBQzLE esJzjYHtAYdQwNyBKA4mu4WuPmYqvC8h66kj0qxIKnlmKjmoTb9I8T3c97ZIi6zp+/RkrlY+bE9Ma wGwcTyja/2kxPYLVN4oWR1JAhFbmwBaIOYBQ5aVrz0l2Qj8e+oE1W2TkMPleyyeS1s5cNhRs/patJ YFzWYpSVPWatzr5C5osgtUuUYHGm8FseI8Rd5c9d+RPrdj98Vg5Mjgb1QdN9TFBZA7L5vPyFDdt7D O3Ux8j/9qpfO2PSq8w1i+8FgYZGmuGQw3j3zz0C8fxc6DRzYPivu3TieluRMyqg7TGLCb/+al+Bd3 q4xNemSQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1eyMr8-0001Fv-Vr; Tue, 20 Mar 2018 19:23:35 +0000 Subject: Re: [PATCH v5 1/7] xen/pvh: Split CONFIG_XEN_PVH into CONFIG_PVH and CONFIG_XEN_PVH To: Maran Wilson , x86@kernel.org, linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, kvm@vger.kernel.org, pbonzini@redhat.com, jgross@suse.com Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, boris.ostrovsky@oracle.com, jpoimboe@redhat.com, kirill.shutemov@linux.intel.com, bp@suse.de, thomas.lendacky@amd.com, luto@kernel.org, dave.hansen@linux.intel.com, roger.pau@citrix.com, rkrcmar@redhat.com References: <1521573369-17216-1-git-send-email-maran.wilson@oracle.com> <1521573486-17304-1-git-send-email-maran.wilson@oracle.com> From: Randy Dunlap Message-ID: Date: Tue, 20 Mar 2018 12:23:30 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1521573486-17304-1-git-send-email-maran.wilson@oracle.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 03/20/2018 12:18 PM, Maran Wilson wrote: > In order to pave the way for hypervisors other then Xen to use the PVH than > entry point for VMs, we need to factor the PVH entry code into Xen specific > and hypervisor agnostic components. The first step in doing that, is to > create a new config option for PVH entry that can be enabled > independently from CONFIG_XEN. > > Signed-off-by: Maran Wilson > --- > arch/x86/Kconfig | 7 +++++++ > arch/x86/kernel/head_64.S | 4 ++-- > arch/x86/xen/Kconfig | 3 ++- > 3 files changed, 11 insertions(+), 3 deletions(-) > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index eb7f43f23521..58831320b5d2 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -791,6 +791,13 @@ config KVM_GUEST > underlying device model, the host provides the guest with > timing infrastructure such as time of day, and system time > > +config PVH > + bool "Support for running PVH guests" > + def_bool n You don't need two (2) "bool"s here. And 'n' is already the default, so just drop the second line. > + ---help--- > + This option enables the PVH entry point for guest virtual machines > + as specified in the x86/HVM direct boot ABI. > + > config KVM_DEBUG_FS > bool "Enable debug information for KVM Guests in debugfs" > depends on KVM_GUEST && DEBUG_FS -- ~Randy