Re: [Xen-devel] [PATCH v6 1/9] x86/mm: add pv prefix to {alloc, free}_page_type

2018-03-08 Thread Jan Beulich
>>> On 13.02.18 at 21:04, wrote: > The two functions are only used by PV code paths because: > > 1. To allocate a PGT_l*_page_table type page, a DomU must explicitly >request such types via PV MMU hypercall. > 2. PV Dom0 builder explicitly asks for PGT_l*_page_table type

Re: [Xen-devel] [PATCH v6 1/9] x86/mm: add pv prefix to {alloc, free}_page_type

2018-03-08 Thread Jan Beulich
>>> On 13.02.18 at 21:04, wrote: > The two functions are only used by PV code paths because: > > 1. To allocate a PGT_l*_page_table type page, a DomU must explicitly >request such types via PV MMU hypercall. > 2. PV Dom0 builder explicitly asks for PGT_l*_page_table type

[Xen-devel] [PATCH v6 1/9] x86/mm: add pv prefix to {alloc, free}_page_type

2018-02-13 Thread Wei Liu
The two functions are only used by PV code paths because: 1. To allocate a PGT_l*_page_table type page, a DomU must explicitly request such types via PV MMU hypercall. 2. PV Dom0 builder explicitly asks for PGT_l*_page_table type pages, but it is obviously PV only. 3. p2m_alloc_ptp