Received: by 10.223.185.116 with SMTP id b49csp7540980wrg; Thu, 1 Mar 2018 07:09:50 -0800 (PST) X-Google-Smtp-Source: AG47ELsrb/7qyFOMRHo2uhqkyL+cpjuJP4Vl1tILrNEgzibzjBE4X+F3z+8d+UvwA54GMxDn2rnV X-Received: by 2002:a17:902:7612:: with SMTP id k18-v6mr2189817pll.397.1519916990449; Thu, 01 Mar 2018 07:09:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519916990; cv=none; d=google.com; s=arc-20160816; b=kSTyBnHP+LJyYvy0GQr5CAweig+vRBQbec1sn10ZiuHtEltxVkyTboeGJGBcJs2LCc zPugvd4MwCbXXdPG/8cc6InM2C2DmyTzvi+5b4MDRDGrJNP11kgFKFy+KBppCU/0Htqn rU/EtTrhJth8a0Kg6OBAyK6HNL6GV55vEf8NVlc18QABEdPJ7yaVYATy2nyvtkVuQf8r ZR4ws7wSNLjoNIkm9b5X2yDZKb946ZH6gOBVVf2DvR8mYccreCeC9Gns0RROmkUjS0hb h8V0E4ehMV5K1lOU7yBJn8cPNh9Fw6jQZkNvJsoEzCtxC9ha5COW50aQmLHzHSb+7uId Z/MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=HJ9ts2R+50NAj722dkQJSBclf2nY/C6qYku7AxGcvBY=; b=VJMb1Ls0yWngCNmR4FLmTzw47afYajPBaOwXhhpvjXvR5LVG4CH3WVuS3Z2Jwut6en f5esJg95sEL8wqW+Dnlhe8FNIDWLF0IPAQXw+PhqIhXT4qyeUCBXCG4iotkDh5RWxh0A WAC2aDStPxJeobSiPGDjVP/oFuUVd1kLMnhOb7K90nl8tBtSBCTnPZyH/mhGLb2l/0Df mBogBH5vNrq5XCVRy1KW4pZGiym3pwH+xK+lHOHYClIuJj1R1twlvYIQm88z13sDjswR UtmhaxKRlU+sAnZgwKSKzbmDmF/lkMZnRYA99UbqQqKrXzrKR4tKnjcF8fJ0EivTsQe6 yHpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=bM9ilyER; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a61-v6si3175726pla.248.2018.03.01.07.09.34; Thu, 01 Mar 2018 07:09:50 -0800 (PST) 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=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=bM9ilyER; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031755AbeCAPIQ (ORCPT + 99 others); Thu, 1 Mar 2018 10:08:16 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:60572 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031350AbeCAPIP (ORCPT ); Thu, 1 Mar 2018 10:08:15 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w21F4hBw117403; Thu, 1 Mar 2018 15:06:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=HJ9ts2R+50NAj722dkQJSBclf2nY/C6qYku7AxGcvBY=; b=bM9ilyERLMCRub+YngcoOxibNOtAgVTNkSs4zz+/6Z8PkjhuJdemP7S0cdONFMM8bUpj UMJLke33QWao/rSol4vPvB6rtbbTIV5EB/teL3ILZUAU5RM7880VPnDUaCFmkx/ngrug aywbWhis/xS1sws3+F/i14XDkKI0xN4H3IPqHtqhokupPF8gZCyk424fJJyBMVGytd2d qnWSVsfH7rBK4TVD8d4hH6Z+ujLF6shtIQrpjVpvS7vYFHMMKn4Uuet+kxxpj+BgAXst uuEcV4/ypGzsQsW3R8u0LUQpZZbKoV23rN0/KXh26g8Yco9adMR4GeZl6I9feogp6M3v tA== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2gekugg0h8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 01 Mar 2018 15:06:17 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w21F1Gbq011526 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Mar 2018 15:01:16 GMT Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w21F1CxH002953; Thu, 1 Mar 2018 15:01:13 GMT Received: from dhcp-burlington7-2nd-B-east-10-152-55-162.usdhcp.oraclecorp.com (/10.152.32.65) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 01 Mar 2018 07:01:12 -0800 Subject: Re: [RFC PATCH v4 1/7] xen/pvh: Split CONFIG_XEN_PVH into CONFIG_PVH and CONFIG_XEN_PVH To: Maran Wilson , pbonzini@redhat.com, jgross@suse.com, roger.pau@citrix.com, andrew.cooper3@citrix.com, hch@infradead.org, JBeulich@suse.com, x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, rkrcmar@redhat.com, jpoimboe@redhat.com, bp@suse.de, kirill.shutemov@linux.intel.com, thomas.lendacky@amd.com, luto@kernel.org, dave.hansen@linux.intel.com, davem@davemloft.net, gregkh@linuxfoundation.org, mchehab@kernel.org, linus.walleij@linaro.org, rdunlap@infradead.org References: <1519842483-8887-1-git-send-email-maran.wilson@oracle.com> <1519842483-8887-2-git-send-email-maran.wilson@oracle.com> From: Boris Ostrovsky Message-ID: <5be04d96-aa10-a022-2597-f7f40138f8f8@oracle.com> Date: Thu, 1 Mar 2018 10:02:35 -0500 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: <1519842483-8887-2-git-send-email-maran.wilson@oracle.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8818 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=946 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1803010190 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/28/2018 01:27 PM, Maran Wilson wrote: > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index eb7f43f23521..fa7cd0305125 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -791,6 +791,14 @@ 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" > + depends on KVM_GUEST || XEN Not sure about XEN part. PVH is selected by XEN_PVH for Xen. What about introducing KVM_GUEST_PVH that will select PVH and then drop dependency here? -boris > + def_bool n > + ---help--- > + This option enables the PVH entry point for guest virtual machines > + as specified in the x86/HVM direct boot ABI. > + > > diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig > index f605825a04ab..021c8591c3c0 100644 > --- a/arch/x86/xen/Kconfig > +++ b/arch/x86/xen/Kconfig > @@ -77,8 +77,9 @@ config XEN_DEBUG_FS > Enabling this option may incur a significant performance overhead. > > config XEN_PVH > - bool "Support for running as a PVH guest" > + bool "Support for running as a Xen PVH guest" > depends on XEN && XEN_PVHVM && ACPI > # Pre-built page tables are not ready to handle 5-level paging. > depends on !X86_5LEVEL > + select PVH > def_bool n