summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorStefan Hajnoczi2021-01-04 18:13:19 +0100
committerEduardo Habkost2021-02-01 23:07:34 +0100
commit86635aa4e9d627d5142b81c57a33dd1f36627d07 (patch)
treeeea6337f2e0f1661c4da093a987cafc7729a715a /docs
parentmemory: add readonly support to memory_region_init_ram_from_file() (diff)
downloadqemu-86635aa4e9d627d5142b81c57a33dd1f36627d07.tar.gz
qemu-86635aa4e9d627d5142b81c57a33dd1f36627d07.tar.xz
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 'docs')
0 files changed, 0 insertions, 0 deletions