qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 0/3] nvdimm: read-only file support


From: Stefan Hajnoczi
Subject: Re: [PATCH v2 0/3] nvdimm: read-only file support
Date: Mon, 4 Jan 2021 15:43:56 +0000

On Thu, Dec 10, 2020 at 04:48:57PM +0000, Liam Merwick wrote:
> On 16/09/2020 10:51, Stefan Hajnoczi wrote:
> > v2:
> >   * s/the the/the/ in documentation [Philippe]
> >   * Assign nvdimm->unarmed earlier [Philippe]
> > 
> > There is currently no way to back an NVDIMM with a read-only file so it can 
> > be
> > safely shared between untrusted guests.
> > 
> > Introduce an -object memory-backend-file,readonly=on|off option.
> > 
> > Julio Montes sent an earlier patch here:
> > https://patchew.org/QEMU/20190708211936.8037-1-julio.montes@intel.com/
> > 
> > Eric Ernst requested this feature again for Kata Containers so I gave it a 
> > try.
> > 
> > Stefan Hajnoczi (3):
> >    memory: add readonly support to memory_region_init_ram_from_file()
> >    hostmem-file: add readonly=on|off option
> >    nvdimm: honor -object memory-backend-file,readonly=on option
> > 
> 
> 
> Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
> Tested-by: Liam Merwick <liam.merwick@oracle.com>
> 
> (I just quickly modified kata-runtime to unconditionally pass readonly=on
> and verified that the root filesystem couldn't be remounted as rw)
> 
> Is this a candidate for 6.0?

Thanks! Yes, this is for 6.0.

Stefan

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]