[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ed6ec864-24cb-75d7-0e53-0c469998e5b5@suse.com>
Date: Wed, 1 Mar 2017 07:25:25 +0100
From: Juergen Gross <jgross@...e.com>
To: Vitaly Kuznetsov <vkuznets@...hat.com>,
xen-devel@...ts.xenproject.org
Cc: Boris Ostrovsky <boris.ostrovsky@...cle.com>, x86@...nel.org,
Andrew Jones <drjones@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [Xen-devel] [PATCH 3/5] x86/xen: put setup.c, mmu.c and p2m.c
under CONFIG_XEN_PV
On 24/02/17 17:14, Vitaly Kuznetsov wrote:
> These three files (mmu.c, p2m.c, setup.c) are mostly required to support
> PV guests, in fact p2m.c and setup.c have no code for PVHVM at all. mmu.c
> has some, split the file into mmu.c, mmu_pv.c and mmu_hvm.c.
>
> Some additional changes are required:
> - In the balloon driver we can't use xen_start_info, xen_released_pages
> and xen_extra_mem it is PV-only. Decorate it with #ifdef CONFIG_XEN_PV
>
> - Some PV-only functions are used by drivers and for PVHVM guests these
> functions have 'if (xen_feature(XENFEAT_auto_translated_physmap))' check
> in the beginning. Create required stubs for PVHVM-only builds.
>
> Signed-off-by: Vitaly Kuznetsov <vkuznets@...hat.com>
And again: split the patch up, please.
Juergen
Powered by blists - more mailing lists