Re: [PATCH v2 2/3] hostmem-file: add readonly=on|off option

2021-01-04 Thread Eduardo Habkost
On Mon, Jan 04, 2021 at 03:42:23PM +, Stefan Hajnoczi wrote: > On Mon, Dec 14, 2020 at 12:10:15PM +0100, Igor Mammedov wrote: > > On Wed, 16 Sep 2020 10:51:49 +0100 > > Stefan Hajnoczi wrote: > > > > > Let -object memory-backend-file work on read-only files when the > > > readonly=on option

Re: [PATCH v2 2/3] hostmem-file: add readonly=on|off option

2021-01-04 Thread Stefan Hajnoczi
On Mon, Dec 14, 2020 at 12:10:15PM +0100, Igor Mammedov wrote: > On Wed, 16 Sep 2020 10:51:49 +0100 > Stefan Hajnoczi wrote: > > > 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

Re: [PATCH v2 2/3] hostmem-file: add readonly=on|off option

2020-12-14 Thread Igor Mammedov
On Wed, 16 Sep 2020 10:51:49 +0100 Stefan Hajnoczi wrote: > 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

[PATCH v2 2/3] hostmem-file: add readonly=on|off option

2020-09-16 Thread Stefan Hajnoczi
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. Acked-by: Michael S. Tsirkin