diff options
author | David Hildenbrand | 2021-04-06 10:01:26 +0200 |
---|---|---|
committer | Paolo Bonzini | 2021-06-15 20:27:37 +0200 |
commit | dbb92eea3857ffeb770d006ad0306e408d33dd62 (patch) | |
tree | 5aa3c8d0091acba2116dea7a426416a0eead5120 /util/filemonitor-inotify.c | |
parent | softmmu/physmem: Fix ram_block_discard_range() to handle shared anonymous memory (diff) | |
download | qemu-dbb92eea3857ffeb770d006ad0306e408d33dd62.tar.gz qemu-dbb92eea3857ffeb770d006ad0306e408d33dd62.tar.xz qemu-dbb92eea3857ffeb770d006ad0306e408d33dd62.zip |
softmmu/physmem: Fix qemu_ram_remap() to handle shared anonymous memory
RAM_SHARED now also properly indicates shared anonymous memory. Let's check
that flag for anonymous memory as well, to restore the proper mapping.
Fixes: 06329ccecfa0 ("mem: add share parameter to memory-backend-ram")
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20210406080126.24010-4-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/filemonitor-inotify.c')
0 files changed, 0 insertions, 0 deletions