summary refs log tree commit diff stats
path: root/hw/arm/microbit.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2021-01-04 17:13:19 +0000
committerEduardo Habkost <ehabkost@redhat.com>2021-02-01 17:07:34 -0500
commit86635aa4e9d627d5142b81c57a33dd1f36627d07 (patch)
treeeea6337f2e0f1661c4da093a987cafc7729a715a /hw/arm/microbit.c
parent369d6dc4de45b8e5e35a851f5719e7fd59a0462f (diff)
downloadfocaccia-qemu-86635aa4e9d627d5142b81c57a33dd1f36627d07.tar.gz
focaccia-qemu-86635aa4e9d627d5142b81c57a33dd1f36627d07.zip
hostmem-file: add readonly=on|off option
Let -object memory-backend-file work on read-only files when the
readonly=on option is given. This can be used to share the contents of a
file between multiple guests while preventing them from consuming
Copy-on-Write memory if guests dirty the pages, for example.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20210104171320.575838-3-stefanha@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/arm/microbit.c')
0 files changed, 0 insertions, 0 deletions