memory: alloc RAM from file at offset
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.raman@oracle.com> Signed-off-by:
John G Johnson <john.g.johnson@oracle.com> Signed-off-by:
Elena Ufimtseva <elena.ufimtseva@oracle.com> Reviewed-by:
Stefan Hajnoczi <stefanha@redhat.com> Message-id: 609996697ad8617e3b01df38accc5c208c24d74e.1611938319.git.jag.raman@oracle.com Signed-off-by:
Stefan Hajnoczi <stefanha@redhat.com>
Showing
- backends/hostmem-memfd.c 1 addition, 1 deletionbackends/hostmem-memfd.c
- hw/misc/ivshmem.c 2 additions, 1 deletionhw/misc/ivshmem.c
- include/exec/memory.h 2 additions, 0 deletionsinclude/exec/memory.h
- include/exec/ram_addr.h 2 additions, 2 deletionsinclude/exec/ram_addr.h
- include/qemu/mmap-alloc.h 3 additions, 1 deletioninclude/qemu/mmap-alloc.h
- softmmu/memory.c 2 additions, 1 deletionsoftmmu/memory.c
- softmmu/physmem.c 7 additions, 5 deletionssoftmmu/physmem.c
- util/mmap-alloc.c 5 additions, 3 deletionsutil/mmap-alloc.c
- util/oslib-posix.c 1 addition, 1 deletionutil/oslib-posix.c
Loading
Please register or sign in to comment