Re: [PATCH] mem_sharing: map shared_info page to same gfn during fork

2020-04-28 Thread Roger Pau Monné
On Mon, Apr 27, 2020 at 09:36:05AM -0700, Tamas K Lengyel wrote: > During a VM fork we copy the shared_info page; however, we also need to ensure > that the page is mapped into the same GFN in the fork as its in the parent. > > Signed-off-by: Tamas K Lengyel > Suggested-by: Roger Pau Monne > ---

[PATCH] mem_sharing: map shared_info page to same gfn during fork

2020-04-27 Thread Tamas K Lengyel
During a VM fork we copy the shared_info page; however, we also need to ensure that the page is mapped into the same GFN in the fork as its in the parent. Signed-off-by: Tamas K Lengyel Suggested-by: Roger Pau Monne --- xen/arch/x86/mm/mem_sharing.c | 29 + 1 file ch