Re: [Xen-devel] [RFC PATCH 2/2] x86/mm: Add mem access rights to NPT

2019-06-13 Thread Tamas Lengyel
On Wed, Sep 26, 2018 at 10:49 AM George Dunlap wrote: > > From: Isaila Alexandru > > This patch adds access control for NPT mode. > > There aren’t enough extra bits to store the access rights in the NPT p2m > table, so we add a radix tree to store extra information. > > For efficiency: > - Only

Re: [Xen-devel] [PATCH] mem_access: Fix npfec.kind propagation

2018-10-17 Thread Tamas Lengyel
On Wed, Oct 17, 2018 at 7:41 AM Razvan Cojocaru wrote: > > On 10/5/18 2:00 PM, Razvan Cojocaru wrote: > > On 9/27/18 2:25 PM, George Dunlap wrote: > >> The name of the "with_gla" flag is confusing; it has nothing to do > >> with the existence or lack thereof of a faulting GLA, but rather where > >

Re: [Xen-devel] An issue in sharing the pages again in xen-memshare

2018-10-06 Thread Tamas Lengyel
Hi Sepanta, memsharing in Xen is fairly rough around the edges. Not being able to share all pages between VMs is normal though. Last time I checked you could still share a fairly large chunk of memory between a VM and its clone created via save/restore. Just keep in mind that the origin VM can't b

Re: [Xen-devel] [RFC PATCH 1/2] mem_access: Fix npfec.kind propagation

2018-09-26 Thread Tamas Lengyel
On Wed, Sep 26, 2018 at 10:49 AM George Dunlap wrote: > > The name of the "with_gla" flag is confusing; it has nothing to do > with the existence or lack thereof of a faulting GLA, but rather where > the fault originated. The npfec.kind value is always valid, and > should thus be propagated, rega