On Tue, Jul 23, 2019 at 04:30:17PM +0200, Paolo Bonzini wrote:
> On 23/07/19 16:04, Stefano Garzarella wrote:
> > In order to reduce the memory footprint we map into memory
> > the initrd using g_mapped_file_new() instead of reading it.
> > In this way we can share the initrd pages between multiple
> > instances of QEMU.
> > 
> > Suggested-by: Paolo Bonzini <pbonz...@redhat.com>
> > Signed-off-by: Stefano Garzarella <sgarz...@redhat.com>
> 
> Coverity is going to complain about the leaks.  Should we instead store
> the initrd GMappedFile in PCMachineState, even if it is just for reference?
> 

Yes, I'll put it in the PCMachineState.

Thanks,
Stefano

Reply via email to