Re: [PATCH v7 15/21] multi-process: Synchronize remote memory

2020-07-01 Thread Stefan Hajnoczi
On Sat, Jun 27, 2020 at 10:09:37AM -0700, elena.ufimts...@oracle.com wrote: > +static bool try_merge(RemoteMemSync *sync, MemoryRegionSection *section) > +{ > +uint64_t mrs_size, mrs_gpa, mrs_page; > +MemoryRegionSection *prev_sec; > +bool merged = false; > +uintptr_t mrs_host; > +

[PATCH v7 15/21] multi-process: Synchronize remote memory

2020-06-27 Thread elena . ufimtseva
From: Jagannathan Raman Add memory-listener object which is used to keep the view of the RAM in sync between QEMU and remote process. A MemoryListener is registered for system-memory AddressSpace. The listener sends SYNC_SYSMEM message to the remote process when memory listener commits the change