On 09/10/2015 15:02, Pavel Fedin wrote: >> 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. :) > > Aha, so it actually tested only when file descriptor is passed from > outside, and not file name, isn't it?
When it's passed _to_ outside (via SCM_RIGHTS). But yes, the file name doesn't matter in this case. Thanks, Paolo