Received: by 10.223.164.202 with SMTP id h10csp1530148wrb; Wed, 8 Nov 2017 05:47:47 -0800 (PST) X-Google-Smtp-Source: ABhQp+TGfdmfD7WHfOvZ354FoqhK2htAFd7sHDoE8RtS9v+VIm4SmnwSNkvdExWCUJZ10B+o0VNJ X-Received: by 10.99.116.89 with SMTP id e25mr526145pgn.383.1510148866911; Wed, 08 Nov 2017 05:47:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510148866; cv=none; d=google.com; s=arc-20160816; b=aZLOnmEg5FIEObv/US8Zg2Dh3/ZROibAIHJ+1AXuyX9HyQBFLyM2gTPOdhpl29SfSg KmACtyXISbySgpV8cRYHW7CKPjFOgkhMUMqclS2CcPaFZgqwO7KoA51v3xBPlm1pivk+ Un3kzceEI2NU9jXLQOEWFXNCA6PQWFWlZIsLAWGtKocxibswmmp7cVvioqfWILeIdUGt mk9y93oLCA6nrDH1Xn49Blt4I6lLiyO5uCX+b61V+Voi7kjMUheO09TEdhHQN0NKWPGP jhFk6oXvMqBgOhHhtiHG9bQpVW/nKATzcDRN6JxB7H9s+/hz0jO5llUBoKhaA6/gL6Ma qifg== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=btzLvcViCnA1LNGnbRvfZ8D0dFMkTSSn1kqq1jBiqSE=; b=i7ZqOIGGDmoRUn1IPMlidG9AW4ER+ZQo7vHWfJsHva+9VMLyBi6zQzIBF4vbdpV78a T9mrNcr6lv4CCgUASDI75mpzstX7SgV9B7L9jr5xEfzY2EY/03nKHbmYqufVfH4t7Gk3 nh3eNVNzSQlk4/Qw6cbnJbND1HHG1XzhoYcErAqVOsa40pnrst/Q2Fi3YCgL3n20Tnbu hZSKwcyQ4eIfxuIJaKAMuktc4hcXz9H40cfIUqFT9ZkIATHLa3E74710Fby/bnleleOY O5O6yGSRKBZHBFuZPTh7wxHE/3YK2ET8/uUkkm+/Cw9kj0XjMfjrKtSsHAKEwJjE0zT0 dB2g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 bh1si3852637plb.93.2017.11.08.05.47.35; Wed, 08 Nov 2017 05:47:46 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752596AbdKHNqu (ORCPT + 82 others); Wed, 8 Nov 2017 08:46:50 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:49596 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752376AbdKHNqt (ORCPT ); Wed, 8 Nov 2017 08:46:49 -0500 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vA8DkPSa008386 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 8 Nov 2017 13:46:25 GMT 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 vA8DkPss020324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 8 Nov 2017 13:46:25 GMT Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id vA8DkOLu000787; Wed, 8 Nov 2017 13:46:24 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 ; Wed, 08 Nov 2017 05:46:24 -0800 Subject: Re: [PATCH 0/3] x86/xen: support booting PVH guest via standard boot path To: Juergen Gross , linux-kernel@vger.kernel.org, x86@kernel.org, kvm@vger.kernel.org, xen-devel@lists.xenproject.org References: <20171108090739.26491-1-jgross@suse.com> <875b3992-c797-b109-6eb2-819e52811eca@oracle.com> <0d04d8cd-41e6-31bd-f5e6-8d1f6fd60efb@suse.com> Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, pbonzini@redhat.com, rkrcmar@redhat.com, rjw@rjwysocki.net, len.brown@intel.com, pavel@ucw.cz From: Boris Ostrovsky Message-ID: <335b8767-dae8-8f85-fbe5-3f10a1af52c8@oracle.com> Date: Wed, 8 Nov 2017 08:47:54 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <0d04d8cd-41e6-31bd-f5e6-8d1f6fd60efb@suse.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Source-IP: userv0021.oracle.com [156.151.31.71] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/08/2017 08:40 AM, Juergen Gross wrote: > On 08/11/17 14:37, Boris Ostrovsky wrote: >> On 11/08/2017 04:07 AM, Juergen Gross wrote: >>> Booting a Xen PVH guest requires a special boot entry as it is >>> mandatory to setup some Xen-specific interfaces rather early. When grub >>> or OVMF are used as boot loaders, however, those will fill the boot >>> parameters in zeropage and there is no longer a need to do something >>> PVH specific in the early boot path. >>> >>> This patch series adds support for that scenario by identifying PVH >>> environment and doing the required init steps via Xen hooks instead of >>> using a dedicated boot entry. >>> >>> The dedicated entry is still needed for support of Dom0 running in PVH >>> mode as in this case there is no grub or OVMF involved for filling in >>> the boot parameters. >> We are going to continue supporting direct boot of unprivileged guests >> too so this entry point will be needed not for dom0 only. > Sure, but using e.g. grub in this case would be an alternative. For Dom0 > this alternative isn't existing. So this entry is mandatory, not a "nice > to have". Right, I was just pointing out that the way the message is phrased makes it sounds (to me at least) as if dom0 is the only reason for the dedicated entry point. -boris From 1583505486231353884@xxx Wed Nov 08 13:41:52 +0000 2017 X-GM-THRID: 1583488333263511437 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread