[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7095f9f1-c8b5-acae-44b4-4699a1e67c69@suse.com>
Date: Thu, 1 Mar 2018 08:21:47 +0100
From: Juergen Gross <jgross@...e.com>
To: Maran Wilson <maran.wilson@...cle.com>, pbonzini@...hat.com,
boris.ostrovsky@...cle.com, roger.pau@...rix.com,
andrew.cooper3@...rix.com, hch@...radead.org, JBeulich@...e.com,
x86@...nel.org, xen-devel@...ts.xenproject.org,
linux-kernel@...r.kernel.org, kvm@...r.kernel.org
Cc: tglx@...utronix.de, mingo@...hat.com, hpa@...or.com,
rkrcmar@...hat.com, jpoimboe@...hat.com, bp@...e.de,
kirill.shutemov@...ux.intel.com, thomas.lendacky@....com,
luto@...nel.org, dave.hansen@...ux.intel.com, davem@...emloft.net,
gregkh@...uxfoundation.org, mchehab@...nel.org,
linus.walleij@...aro.org, rdunlap@...radead.org
Subject: Re: [RFC PATCH v4 5/7] xen/pvh: Move Xen code for getting mem map via
hcall out of common file
On 28/02/18 19:28, Maran Wilson wrote:
> We need to refactor PVH entry code so that support for other hypervisors
> like Qemu/KVM can be added more easily.
>
> The original design for PVH entry in Xen guests relies on being able to
> obtain the memory map from the hypervisor using a hypercall. When we
> extend the PVH entry ABI to support other hypervisors like Qemu/KVM,
> a new mechanism will be added that allows the guest to get the memory
> map without needing to use hypercalls.
>
> For Xen guests, the hypercall approach will still be supported. In
> preparation for adding support for other hypervisors, we can move the
> code that uses hypercalls into the Xen specific file. This will 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 <maran.wilson@...cle.com>
Reviewed-by: Juergen Gross <jgross@...e.com>
Juergen
Powered by blists - more mailing lists