Re: [Xen-devel] [PATCH v11 08/12] xen/pvh: MMU changes for PVH

2013-12-18 Thread Stefano Stabellini
On Wed, 18 Dec 2013, Konrad Rzeszutek Wilk wrote: > > > @@ -1834,6 +1845,9 @@ static void convert_pfn_mfn(void *v) > > > pte_t *pte = v; > > > int i; > > > > > > + if (xen_feature(XENFEAT_auto_translated_physmap)) > > > + return; > > > + > > > /* All levels are converted the same wa

Re: [Xen-devel] [PATCH v11 08/12] xen/pvh: MMU changes for PVH

2013-12-18 Thread Konrad Rzeszutek Wilk
On Wed, Dec 18, 2013 at 02:48:38PM +, Stefano Stabellini wrote: > On Tue, 17 Dec 2013, Konrad Rzeszutek Wilk wrote: > > From: Mukesh Rathor > > > > .. which are surprinsingly small compared to the amount for PV code. > > > > PVH uses mostly native mmu ops, we leave the generic (native_*) for

Re: [Xen-devel] [PATCH v11 08/12] xen/pvh: MMU changes for PVH

2013-12-18 Thread Stefano Stabellini
On Tue, 17 Dec 2013, Konrad Rzeszutek Wilk wrote: > From: Mukesh Rathor > > .. which are surprinsingly small compared to the amount for PV code. > > PVH uses mostly native mmu ops, we leave the generic (native_*) for > the majority and just overwrite the baremetal with the ones we need. > > We