Received: by 10.223.164.202 with SMTP id h10csp294554wrb; Thu, 30 Nov 2017 10:25:16 -0800 (PST) X-Google-Smtp-Source: AGs4zMaFnwuAxzs/owMTV8MjaA1Hohv3zfb8pKLkyfyRyO3bncsdIoGX78WezJTRVFCz4GHWpuI3 X-Received: by 10.98.14.144 with SMTP id 16mr7615208pfo.195.1512066316150; Thu, 30 Nov 2017 10:25:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512066316; cv=none; d=google.com; s=arc-20160816; b=pcb4mMLayHHXfqClOV4TjxchC+Pft1/VKcJTGM/ef0cemrJgAdS3ifBuRfCNKH5vBS VnlMahnCFJ6/gw63nNuKjsSlubsCnTZzIG6lSV7RxkfuT0Po1eauLC6uxJA8Ik5+x/md x5Q9Cqp9GehwEk78UDCzPpCU54anLUoTZhyF7mqplAsKYA/iZtzsK1HuGaDQ51cz8V9I kxnNPXnzYR/yMY8wGhsrDNU8+NRkFcP6waubiytqN0zD7UVpiJqgBeRXiyGmDnrf36Tb K1qlMX14SzmknJG/bsSS0OmP38fCUt4fCdQMeFRuFHzVUa20IxEWs1QuLPxQTrDy65i6 7ecQ== 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:organization:from:references:cc:to:subject :arc-authentication-results; bh=nJkpxPiyVfJknA4GJLrnKkG7MeFPHon3eCKDNXmLyfY=; b=oiy9ArX3bKudBJPnzihsfUh6jE0hDDFTf0ECcIN+fOOmLN3XAqvpttDo+vFP8uH5/m Fhel+a1Urp2wfEr16CERs5gwqE+i8D+yWDrTq2frkgisq+3e2ekj/NyI4V+nryBsoQIv 6ctdxS0p/XC2VkYTUpSxGPPRH5XVru2/DyzFlgKc6rumTc+EL+W0EPrG7MrKz918q0Px /54u1wZ6md1gTNMt4w+uiF/Vqlc+d+2jzdS1n+5t7Sl54hlYl3DLpLFaVysJUR0FZRiz 4yCA5Dq1hU+BIE56Qg8kiLFs6bV5b6PQRFkMvu9/pxSxA/QAmjA6LSlxIjzSKVitygXg 3aVg== 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 e9si3296463pgv.186.2017.11.30.10.25.03; Thu, 30 Nov 2017 10:25:16 -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 S1751395AbdK3SXq (ORCPT + 99 others); Thu, 30 Nov 2017 13:23:46 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:28042 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750761AbdK3SXo (ORCPT ); Thu, 30 Nov 2017 13:23:44 -0500 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vAUINPwP009331 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 30 Nov 2017 18:23:25 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vAUINO5i014050 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 30 Nov 2017 18:23:25 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id vAUINNRa007846; Thu, 30 Nov 2017 18:23:24 GMT Received: from [10.141.197.71] (/10.141.197.71) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 30 Nov 2017 10:23:23 -0800 Subject: Re: [RFC PATCH] KVM: x86: Allow Qemu/KVM to use PVH entry point To: Paolo Bonzini , Boris Ostrovsky , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Juergen Gross Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, rkrcmar@redhat.com, JBeulich@suse.com, andrew.cooper3@citrix.com, kvm@vger.kernel.org References: <1511897682-32060-1-git-send-email-maran.wilson@oracle.com> <176188ca-51f9-ef12-6e93-46ab2d8b8cfc@suse.com> <20171129085044.kc3yqqdcw3zmp2k2@MacBook-Pro-de-Roger.local> <4d213199-ea65-4410-5b7a-63038215e380@oracle.com> <0162f2cd-2d9e-1c89-bb8e-7ac0089f0b3a@suse.com> <20171129141810.q3s3xflsflpjovdd@MacBook-Pro-de-Roger.local> <96f9b4a5-7cb6-19c3-227d-8c48916d5969@oracle.com> <25d6db63-a57d-b15c-2d43-e96c506b4824@redhat.com> From: Maran Wilson Organization: Oracle Corporation Message-ID: Date: Thu, 30 Nov 2017 10:23:17 -0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <25d6db63-a57d-b15c-2d43-e96c506b4824@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/29/2017 6:44 AM, Paolo Bonzini wrote: > I actually like this patch, except that I'd get the e820 memory map from > fw_cfg (see the first part of > https://github.com/bonzini/qboot/blob/master/fw_cfg.c, and extract_e820 > inhttps://github.com/bonzini/qboot/blob/master/main.c) instead of the > second module. Hi Paolo, I want to make sure I understand exactly what you are suggesting... Are you saying the Linux PVH entry code (such as init_pvh_bootparams()) should use the fw_cfg interface to read the e820 memory map data and put it into the zeropage? Basically, keeping the patch very much like it already is, just extracting the e820 data via the fw_cfg interface instead of from the second module of start_info struct? If that is the case, I guess I'm a bit hesitant to throw the QEMU specific fw_cfg interface into the mix on the Linux PVH side when the existing PVH ABI already seems to contain an interface for passing modules/blobs to the guest. But if you feel there is a compelling reason to use the fw_cfg interface here, I'm happy to explore that approach further. Thanks, -Maran From 1585425798677103202@xxx Wed Nov 29 18:24:24 +0000 2017 X-GM-THRID: 1585339868639162159 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread