On 4/13/21 11:14 AM, David Hildenbrand wrote: > Let's pass in ram flags just like we do with qemu_ram_alloc_from_file(), > to clean up and prepare for more flags. > > Simplify the documentation of passed ram flags: Looking at our > documentation of RAM_SHARED and RAM_PMEM is sufficient, no need to be > repetitive. > > Reviewed-by: Peter Xu <pet...@redhat.com> > Signed-off-by: David Hildenbrand <da...@redhat.com> > --- > backends/hostmem-memfd.c | 7 ++++--- > hw/misc/ivshmem.c | 5 ++--- > include/exec/memory.h | 9 +++------ > include/exec/ram_addr.h | 6 +----- > softmmu/memory.c | 7 +++---- > 5 files changed, 13 insertions(+), 21 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>