On Sat, Jun 27, 2020 at 10:09:23AM -0700, elena.ufimts...@oracle.com wrote: > From: Jagannathan Raman <jag.ra...@oracle.com> > > Allow RAM MemoryRegion to be created from an offset in a file, instead > of allocating at offset of 0 by default. This is needed to synchronize > RAM between QEMU & remote process. > > Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com> > Signed-off-by: John G Johnson <john.g.john...@oracle.com> > Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com> > --- > backends/hostmem-memfd.c | 2 +- > exec.c | 11 +++++++---- > hw/misc/ivshmem.c | 3 ++- > include/exec/memory.h | 2 ++ > include/exec/ram_addr.h | 2 +- > include/qemu/mmap-alloc.h | 3 ++- > memory.c | 3 ++- > util/mmap-alloc.c | 7 ++++--- > util/oslib-posix.c | 2 +- > 9 files changed, 22 insertions(+), 13 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature