softmmu/physmem: Remap with proper protection in qemu_ram_remap()
authorDavid Hildenbrand <david@redhat.com>
Wed, 6 Sep 2023 12:04:56 +0000 (14:04 +0200)
committerDavid Hildenbrand <david@redhat.com>
Tue, 19 Sep 2023 08:23:21 +0000 (10:23 +0200)
commit9e6b9f379130c77a08c8ea67a09fc90cb30f8d09
tree05804528e82e9e0a130d382132506997cfa8bbe4
parente92666b0ba4cbaa71a5dd98c31414926a9915487
softmmu/physmem: Remap with proper protection in qemu_ram_remap()

Let's remap with the proper protection that we can derive from
RAM_READONLY.

Message-ID: <20230906120503.359863-5-david@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
softmmu/physmem.c