Messages in this thread | | | Subject | Re: [Xen-devel] [PATCH 3/5] x86/xen: put setup.c, mmu.c and p2m.c under CONFIG_XEN_PV | From | Juergen Gross <> | Date | Wed, 1 Mar 2017 07:25:25 +0100 |
| |
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
| |