qemu-e2k/softmmu
David Hildenbrand d5015b8013 softmmu/memory: Pass ram_flags to qemu_ram_alloc_from_fd()
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: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com> for memory backend and machine core
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20210510114328.21835-5-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-06-15 20:27:38 +02:00
..
arch_init.c Drop the deprecated unicore32 target 2021-05-12 18:20:52 +02:00
balloon.c
bootdevice.c
cpu-throttle.c
cpu-timers.c icount: get rid of static variable 2021-04-01 09:40:45 +02:00
cpus.c softmmu: add trace point when bdrv_flush_all fails 2021-06-14 13:28:50 +01:00
datadir.c
device_tree.c Do not include sysemu/sysemu.h if it's not really necessary 2021-05-02 17:24:50 +02:00
dma-helpers.c
globals.c
icount.c icount: get rid of static variable 2021-04-01 09:40:45 +02:00
ioport.c
main.c
memory_mapping.c Do not include cpu.h if it's not really necessary 2021-05-02 17:24:51 +02:00
memory.c softmmu/memory: Pass ram_flags to qemu_ram_alloc_from_fd() 2021-06-15 20:27:38 +02:00
meson.build
physmem.c softmmu/physmem: Fix qemu_ram_remap() to handle shared anonymous memory 2021-06-15 20:27:37 +02:00
qdev-monitor.c Do not include sysemu/sysemu.h if it's not really necessary 2021-05-02 17:24:50 +02:00
qemu-seccomp.c
qtest.c qtest: add a QOM object for qtest 2021-05-26 14:49:45 +02:00
rtc.c
runstate-action.c
runstate.c runstate: Initialize Error * to NULL 2021-06-15 17:17:09 +02:00
timers-state.h icount: get rid of static variable 2021-04-01 09:40:45 +02:00
tpm.c
trace-events softmmu: add trace point when bdrv_flush_all fails 2021-06-14 13:28:50 +01:00
trace.h
vl.c vl: Fix an assert failure in error path 2021-06-15 17:17:09 +02:00