diff options
author | David Hildenbrand | 2021-05-10 13:43:17 +0200 |
---|---|---|
committer | Paolo Bonzini | 2021-06-15 20:27:38 +0200 |
commit | d5015b80134047013eeec10000df5ce2014ee114 (patch) | |
tree | 8d6eb31af866e5c142e8de786f98e96c8aade7cc /scripts/coccinelle | |
parent | util/mmap-alloc: Factor out activating of memory to mmap_activate() (diff) | |
download | qemu-d5015b80134047013eeec10000df5ce2014ee114.tar.gz qemu-d5015b80134047013eeec10000df5ce2014ee114.tar.xz qemu-d5015b80134047013eeec10000df5ce2014ee114.zip |
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>
Diffstat (limited to 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions