Re: [Xen-devel] [PATCH v2 39/55] x86: switch root_pgt to mfn_t and use new APIs

2019-10-01 Thread Hongyan Xia
On 01/10/2019 16:20, Wei Liu wrote: On Tue, Oct 01, 2019 at 02:54:19PM +0100, Hongyan Xia wrote: On 30/09/2019 11:33, Hongyan Xia wrote: From: Wei Liu This then requires moving declaration of root page table mfn into mm.h and modify setup_cpu_root_pgt to have a single exit path. We also

Re: [Xen-devel] [PATCH v2 39/55] x86: switch root_pgt to mfn_t and use new APIs

2019-10-01 Thread Wei Liu
On Tue, Oct 01, 2019 at 02:54:19PM +0100, Hongyan Xia wrote: > On 30/09/2019 11:33, Hongyan Xia wrote: > > From: Wei Liu > > > > This then requires moving declaration of root page table mfn into mm.h > > and modify setup_cpu_root_pgt to have a single exit path. > > > > We also need to force

Re: [Xen-devel] [PATCH v2 39/55] x86: switch root_pgt to mfn_t and use new APIs

2019-10-01 Thread Hongyan Xia
On 30/09/2019 11:33, Hongyan Xia wrote: From: Wei Liu This then requires moving declaration of root page table mfn into mm.h and modify setup_cpu_root_pgt to have a single exit path. We also need to force map_domain_page to use direct map when switching per-domain mappings. This is contrary