Received: by 10.223.185.116 with SMTP id b49csp6660895wrg; Wed, 28 Feb 2018 13:14:06 -0800 (PST) X-Google-Smtp-Source: AH8x224ph63SXMmulxrsWEFg7BPU4E8p4gKBVrdKb92WttbJs/YWjgLH26i+21DOuqMg5qMItfOG X-Received: by 2002:a17:902:9a98:: with SMTP id w24-v6mr18880775plp.188.1519852446629; Wed, 28 Feb 2018 13:14:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519852446; cv=none; d=google.com; s=arc-20160816; b=WyQMJAPMQZ1YlqmakpI/iNFTdiDg4q1N2NAfvHZ3N7uLPj8MDXAkzVmHpQ8qJfUcZZ u6dFex8y3KWPvocl9LfSpDd/U4oTZgrpRPKIaFf8axftK1WAs/b9PKH8lvKxEz+ficez VT1YuT7vKIjqpnej46JbcsQ2iRWVmW6yBxhRexZ9Y/saTWO8oTXLujZR3OUPLC6s8rV/ 5wU5u0fbnQGPHnq8lEvgIzEaVms4TX+NIAsH8RqtE6ACPVqPDcVprUOGhcpXBRBvyJ/V CyDobVf3F9pz3Jta8p9IJEIQ/3U3FSl0yEiOIXAmf3peaMG+5E2BLG3nQuYbV/1Q33Uk 9NrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=OmQ87XdqNlJ2hTuj1MXw0jqDbJggj34qnBgPKGJNeGM=; b=sET470EdeuDRAzqVWutaL6i8mJnLUCZHp2GHVi38+AKZZA+dhC3pRoBH5Uapg/Zf59 kvZLAcyz7gvfU2ovXPC+DjmjkhaXo+rkY0oBT4MXI8WHiB196ZG2rKtBf7n0w8Nc/kaD wDZO7Qe0M5NTMi0WhM+tQkolAjf8WjKdU9YIVY1xQT9ZDJ2rlH7k/0A649/Qzn4a422H +0Bwa4Qz/JRo0ZdFZtRNzsgomYr+FiIrwGC4YK5/ZWz3qfLzhm/dK9z/ewl1Kjf2N2qe 6pE/hd9ccGWmBoIR6CFaOOkULffpkfsaeJCghJreRoheDXvdmF7TDtmzrRuXWGqTIFPg 56kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=rGvaW9g1; 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 r24si1508062pgn.78.2018.02.28.13.13.51; Wed, 28 Feb 2018 13:14:06 -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=rGvaW9g1; 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 S934876AbeB1VMT (ORCPT + 99 others); Wed, 28 Feb 2018 16:12:19 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:40398 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934470AbeB1VLl (ORCPT ); Wed, 28 Feb 2018 16:11:41 -0500 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w1SL1uCp058498; Wed, 28 Feb 2018 21:10:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2017-10-26; bh=OmQ87XdqNlJ2hTuj1MXw0jqDbJggj34qnBgPKGJNeGM=; b=rGvaW9g1pICNDklBvRilIHhXm807TSANxbcjijNaanewFENcHtbF5ogLUw+ONK6cjHQF FGbUNFYEna7f3wjZOxnLTNJlQ7bCk+46BKU7mRi0xW2bbjkCjay8ktIbX2HdiD3zIHC7 FXA8D5hnELiyn51a8A/obxLIWV+NxaWEI+nO0H9jKCaFY6uIzkMwG8cvOO2CUAF5mCdO 9mQWIN24rk0UUQzsP6gSCz/OjdosqVfzs4OXhxSJ0GKkqtKbiRfAMzexwNH4M7wvUEOR oCSJE4cdGTOim5EdOjqHIMDAvCsMEKT0SuDtIV8Ao5JuAavOI2mDnFxIr1AQsFUqXlnj IQ== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp2120.oracle.com with ESMTP id 2ge3ycg1ta-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Feb 2018 21:10:58 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w1SLAvaI028757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 28 Feb 2018 21:10:57 GMT Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w1SLAuZh017871; Wed, 28 Feb 2018 21:10:56 GMT Received: from char.us.oracle.com (/10.137.176.158) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 28 Feb 2018 13:10:55 -0800 Received: by char.us.oracle.com (Postfix, from userid 1000) id CEF9B6A09F7; Wed, 28 Feb 2018 16:10:53 -0500 (EST) Date: Wed, 28 Feb 2018 16:10:53 -0500 From: Konrad Rzeszutek Wilk To: Maran Wilson Cc: pbonzini@redhat.com, jgross@suse.com, boris.ostrovsky@oracle.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, thomas.lendacky@amd.com, dave.hansen@linux.intel.com, rkrcmar@redhat.com, gregkh@linuxfoundation.org, mchehab@kernel.org, hpa@zytor.com, linus.walleij@linaro.org, mingo@redhat.com, rdunlap@infradead.org, luto@kernel.org, jpoimboe@redhat.com, tglx@linutronix.de, bp@suse.de, davem@davemloft.net, kirill.shutemov@linux.intel.com Subject: Re: [Xen-devel] [RFC PATCH v4 4/7] xen/pvh: Move Xen specific PVH VM initialization out of common code Message-ID: <20180228211053.GM11576@char.us.oracle.com> References: <1519842483-8887-1-git-send-email-maran.wilson@oracle.com> <1519842483-8887-5-git-send-email-maran.wilson@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1519842483-8887-5-git-send-email-maran.wilson@oracle.com> User-Agent: Mutt/1.8.3 (2017-05-23) 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=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802280256 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 28, 2018 at 10:28:00AM -0800, Maran Wilson wrote: > We need to refactor PVH entry code so that support for other hypervisors > like Qemu/KVM can be added more easily. > > This patch moves the small block of code used for initializing Xen PVH > virtual machines into the Xen specific file. This initialization is not > going to be needed for Qemu/KVM guests. Moving it out of the common file > is going to allow us to compile kernels in the future without CONFIG_XEN > that are still capable of being booted as a Qemu/KVM guest via the PVH > entry point. > > Signed-off-by: Maran Wilson Reviewed-by: Konrad Rzeszutek Wilk Thank you!