lkml.org 
[lkml]   [2017]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Xen-devel] [PATCH 3/5] x86/xen: put setup.c, mmu.c and p2m.c under CONFIG_XEN_PV
From
Date
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@redhat.com>

And again: split the patch up, please.


Juergen

\
 
 \ /
  Last update: 2017-03-01 07:27    [W:0.080 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site