[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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@xxxxxxxxxx>

And again: split the patch up, please.


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.