Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp641486imu; Tue, 11 Dec 2018 05:20:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/VEz+YDu1PuxA0CB2uFzITnYGxsbJ3QSUAZ5BtwU4P8Jgfo2yN/VZpR4/aK8ELIu3DQdjIe X-Received: by 2002:a65:57cb:: with SMTP id q11mr14616348pgr.60.1544534404667; Tue, 11 Dec 2018 05:20:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544534404; cv=none; d=google.com; s=arc-20160816; b=U54G3VCnP7wrtb0cHv5Ry13TAgVzSZDDvq4z5xPIc8V4O6FjURk1Kd20M+J9IjuTkP dYZBzpSbOnyH0Ob5Xf1WNhWPhZr17DDSIwTBT3TvzVMwd8W3ls5ojPREj0lBv0w/qE/y B88Tk/vwBCjTGSuLP/N28rtuifd9HK6w8GTeOLuNucMyb8XTikgoarxeHtLGngNbTp/i FIYxfnX3Xi8TZEYu8i9cPNhpAMu6UIid1iuCUucomZTAmN1fxUf1o2NtVbXJssN4DEsQ H43yPj7lMymyj02H2yChuTvk2ryk1QJKIN+12/O98w70OLWRpc3LmA5tMWzJAczJn6YO SrVA== 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; bh=O2ja6+sw44dlk32VxUC6G9dhbnuSlTN56i1/htLnlTc=; b=YcZDahJ9eG/Uie1xFDubd6hXF2Hg3Txr2nh8minac1bpxJQqA40+O62YCDd5ActI8Z 6SOXDvG9slDZzts0Ju9F061remmB99kP3xpJM6xMH8dXUBWPTJA06vyCNbGCZhzIc2KQ /+ed5tN6QsfIZUmrjYKSQpmSMlBb+bzltDNEwCOiD4DVoHEjiT6zcUAfk6AKqZtUhe9w FMPQsh8QiMoShGNIze49siVUrL68JbOjtN3aHQ7X7+bjOBIDxZRP+yQiQBjsg6qdw9yu cnu/7bvA07UyDcu5MA/r6QbapaV4//urYh+zyyHPhm7kGe1CRhww6/TZyTcwQeB3RBz9 OpWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=MoPcnpAV; 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=REJECT sp=REJECT dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6si13124908pfb.178.2018.12.11.05.19.27; Tue, 11 Dec 2018 05:20:04 -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=@alien8.de header.s=dkim header.b=MoPcnpAV; 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=REJECT sp=REJECT dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726313AbeLKNSg (ORCPT + 99 others); Tue, 11 Dec 2018 08:18:36 -0500 Received: from mail.skyhub.de ([5.9.137.197]:43656 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726135AbeLKNSg (ORCPT ); Tue, 11 Dec 2018 08:18:36 -0500 Received: from zn.tnic (p200300EC2BCD2B00BD72DD1FE93D9839.dip0.t-ipconnect.de [IPv6:2003:ec:2bcd:2b00:bd72:dd1f:e93d:9839]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id DDE101EC0BAA; Tue, 11 Dec 2018 14:18:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1544534314; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=O2ja6+sw44dlk32VxUC6G9dhbnuSlTN56i1/htLnlTc=; b=MoPcnpAVXvW4pU5V9q6q7EdT7AkSMbwwxwVcHVFo97wCNF3p5Hh43zrQZtsRRwY7CYjMXx N0JMMS1dTnzBAaQAL/JgPI50qddmqNeIIylSOwj2BR4QnDeXiElFaAZxnUmPL3cqaFgnZ4 XOC1wC++bLNhpbbIv4ppLWSTGkkKKBA= Date: Tue, 11 Dec 2018 14:18:25 +0100 From: Borislav Petkov To: Maran Wilson Cc: x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, pbonzini@redhat.com, jgross@suse.com, boris.ostrovsky@oracle.com, bp@suse.de, dave.hansen@linux.intel.com, davem@davemloft.net, gregkh@linuxfoundation.org, hpa@zytor.com, jpoimboe@redhat.com, kirill.shutemov@linux.intel.com, luto@kernel.org, mchehab@kernel.org, mingo@redhat.com, rdunlap@infradead.org, tglx@linutronix.de, thomas.lendacky@amd.com, hch@infradead.org, roger.pau@citrix.com, rkrcmar@redhat.com Subject: Re: [PATCH v9 0/7] KVM: x86: Allow Qemu/KVM to use PVH entry point Message-ID: <20181211131825.GD27375@zn.tnic> References: <1544468734-32763-1-git-send-email-maran.wilson@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1544468734-32763-1-git-send-email-maran.wilson@oracle.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 10, 2018 at 11:05:34AM -0800, 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 series would enable Qemu to use that same entry point for > booting KVM guests. How would I do that, practically? Looking at those here: > * Qemu and qboot RFC patches have been posted to show one example of how > this functionality can be used. Some preliminary numbers are available > in those cover letters showing the KVM guest boot time improvement. > Qemu: > http://lists.nongnu.org/archive/html/qemu-devel/2018-12/msg00957.html > qboot: > http://lists.nongnu.org/archive/html/qemu-devel/2018-12/msg00953.html I might still need to do some dancing to get stuff going. Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.