Received: by 10.192.165.156 with SMTP id m28csp1498975imm; Mon, 16 Apr 2018 23:43:09 -0700 (PDT) X-Google-Smtp-Source: AIpwx48IOu6YPCssyU/4Q75DZGfgSDFETVGHXLQf1eiHebsNk8Jz53u2UVV/BYth27qe9M7ml5Hj X-Received: by 10.98.163.21 with SMTP id s21mr558021pfe.168.1523947389872; Mon, 16 Apr 2018 23:43:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523947389; cv=none; d=google.com; s=arc-20160816; b=hH0abKcjm67gzyo1Fk1mWg3A8d1tQXxyvazTFKte9hIvSLgTQTnLxnegRge/TYZCSA XxZxhW6so8Fd72sUPYT7DmCxSwabRA+66imXD1PRufTha+fOi3sNPbE3uacbK9xqed+6 tEJPQrFnZ+4H7+1+HHdhWMCM3e7IxWzMpRyqQt3hMUxB3Ad25QMDIqtr38Ix0GjIfp5g RDEYF8KwQVNHW9/jzwgT+OA5iO2rcnCf8w4M7Uaz5JwLWtMPtHyO8PB0fuVBM7+r89UR uvQPap5njEBAHpo4sQDJaHQzVWDr7qADc11PbL6w4gVa3F0SpTtLrwhrowTw68NwrTuC iTKQ== 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:arc-authentication-results; bh=5HORWvhHHyX0cN8UMj2plfXg/p39AXSTgMs+2rXRTMw=; b=dln+Ejl4la+goeOBdz7tbqnPGjBczXn34PNUMltnwfWq8QVxaRO9GW5emc4FPur4OT K3XiTe0M5MBpe+aFNUV/nI43yRAbOKHni/Ms+vRrXPR2Qk5qyvn9F6lbZ3cmIMWaIfei SegqsJoqo75DJkjBy3cLHt7Rlaii5qiE+ld65FEltnvmjOSIZIvmhBWTeAtv6GzPYnfX 5z5NFIvDbd0ibtbVIhYA7A3iWxlSUWuJykHGMuhPc3gdsz4F9Ky9MVVQqmc3t2WgsMBR B2ZYmCrYIjhg0MFbBywtmbOO5PffxLWIzorZAwCLrcxI8ZwK94AgEwK4+WctQlHXXvk9 a9oA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x11-v6si13861388plm.326.2018.04.16.23.42.55; Mon, 16 Apr 2018 23:43:09 -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; 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 S1751865AbeDQGlo (ORCPT + 99 others); Tue, 17 Apr 2018 02:41:44 -0400 Received: from mx2.suse.de ([195.135.220.15]:37034 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750967AbeDQGlm (ORCPT ); Tue, 17 Apr 2018 02:41:42 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 4A64FAE32; Tue, 17 Apr 2018 06:41:41 +0000 (UTC) Subject: Re: [PATCH v7 7/7] KVM: x86: Allow Qemu/KVM to use PVH entry point To: Maran Wilson , x86@kernel.org, linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, kvm@vger.kernel.org, pbonzini@redhat.com Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, roger.pau@citrix.com, boris.ostrovsky@oracle.com, rkrcmar@redhat.com References: <1523920175-27287-1-git-send-email-maran.wilson@oracle.com> <1523920430-27952-1-git-send-email-maran.wilson@oracle.com> From: Juergen Gross Message-ID: <12a7d9fc-2cff-821c-68c3-05d61c2640e2@suse.com> Date: Tue, 17 Apr 2018 08:41:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1523920430-27952-1-git-send-email-maran.wilson@oracle.com> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/04/18 01:13, Maran Wilson wrote: > For certain applications it is desirable to rapidly boot a KVM virtual > machine. In cases where legacy hardware and software support within the > guest is not needed, Qemu should be able to boot directly into the > uncompressed Linux kernel binary without the need to run firmware. > > There already exists an ABI to allow this for Xen PVH guests and the ABI > is supported by Linux and FreeBSD: > > https://xenbits.xen.org/docs/unstable/misc/pvh.html > > This patch enables Qemu to use that same entry point for booting KVM > guests. > > Signed-off-by: Maran Wilson > Suggested-by: Konrad Rzeszutek Wilk > Suggested-by: Boris Ostrovsky > Tested-by: Boris Ostrovsky Reviewed-by: Juergen Gross You might want to send a follow-up patch to rename the functions in arch/x86/platform/pvh/* from xen_* to pvh_*. Juergen