Re: [Xen-devel] [PATCH] altp2m: Allow the hostp2m to be shared

2016-04-27 Thread George Dunlap
On 27/04/16 16:37, Tamas K Lengyel wrote: > On Wed, Apr 27, 2016 at 9:31 AM, George Dunlap > wrote: > >> On 27/04/16 16:18, Tamas K Lengyel wrote: >>> On Wed, Apr 27, 2016 at 9:01 AM, George Dunlap >> >>> wrote: >>> On 21/04/16 18:10, Tamas K Lengyel wrote: > Don't propagate altp2m chang

Re: [Xen-devel] [PATCH] altp2m: Allow the hostp2m to be shared

2016-04-27 Thread Tamas K Lengyel
On Wed, Apr 27, 2016 at 9:31 AM, George Dunlap wrote: > On 27/04/16 16:18, Tamas K Lengyel wrote: > > On Wed, Apr 27, 2016 at 9:01 AM, George Dunlap > > > wrote: > > > >> On 21/04/16 18:10, Tamas K Lengyel wrote: > >>> Don't propagate altp2m changes from ept_set_entry for memshare as > >> memsha

Re: [Xen-devel] [PATCH] altp2m: Allow the hostp2m to be shared

2016-04-27 Thread George Dunlap
On 27/04/16 16:18, Tamas K Lengyel wrote: > On Wed, Apr 27, 2016 at 9:01 AM, George Dunlap > wrote: > >> On 21/04/16 18:10, Tamas K Lengyel wrote: >>> Don't propagate altp2m changes from ept_set_entry for memshare as >> memshare >>> already has the lock. We call altp2m propagate changes once mems

Re: [Xen-devel] [PATCH] altp2m: Allow the hostp2m to be shared

2016-04-27 Thread Tamas K Lengyel
On Wed, Apr 27, 2016 at 9:01 AM, George Dunlap wrote: > On 21/04/16 18:10, Tamas K Lengyel wrote: > > Don't propagate altp2m changes from ept_set_entry for memshare as > memshare > > already has the lock. We call altp2m propagate changes once memshare > > successfully finishes. Also, allow the ho

Re: [Xen-devel] [PATCH] altp2m: Allow the hostp2m to be shared

2016-04-27 Thread George Dunlap
On 21/04/16 18:10, Tamas K Lengyel wrote: > Don't propagate altp2m changes from ept_set_entry for memshare as memshare > already has the lock. We call altp2m propagate changes once memshare > successfully finishes. Also, allow the hostp2m entries to be of type > p2m_ram_shared. > > Signed-off-by:

Re: [Xen-devel] [PATCH] altp2m: Allow the hostp2m to be shared

2016-04-25 Thread Konrad Rzeszutek Wilk
Sadly I only have little nitpicks. Feel free to ignore them. > diff --git a/xen/arch/x86/mm/mem_sharing.c b/xen/arch/x86/mm/mem_sharing.c > index a522423..d5b4b2d 100644 > --- a/xen/arch/x86/mm/mem_sharing.c > +++ b/xen/arch/x86/mm/mem_sharing.c > @@ -35,6 +35,7 @@ > #include > #include > #i

[Xen-devel] [PATCH] altp2m: Allow the hostp2m to be shared

2016-04-21 Thread Tamas K Lengyel
Don't propagate altp2m changes from ept_set_entry for memshare as memshare already has the lock. We call altp2m propagate changes once memshare successfully finishes. Also, allow the hostp2m entries to be of type p2m_ram_shared. Signed-off-by: Tamas K Lengyel --- Cc: George Dunlap Cc: Keir Frase