On 09/10/2015 14:45, Marc-André Lureau wrote: > Hi > > ----- Original Message ----- >> Hello! >> >>> file_ram_alloc() only allocates with temporary files, even when using >>> share=true. >> >> Yes. I wonder, what's the purpose of share=true then. > > Paolo added it, I am not sure either.
It is needed for use with vhost-user. If the file descriptor you pass to the vhost-user server is mapped with MAP_PRIVATE, the vhost-user server will not get the guest's memory contents. At least I think so. :) Paolo