From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkXOS-0002oO-Kh for qemu-devel@nongnu.org; Fri, 09 Oct 2015 09:07:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkXON-0006BC-MV for qemu-devel@nongnu.org; Fri, 09 Oct 2015 09:07:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkXON-0006B7-Hj for qemu-devel@nongnu.org; Fri, 09 Oct 2015 09:07:23 -0400 References: <1444159184-18153-1-git-send-email-marcandre.lureau@redhat.com> <015601d10289$6f487650$4dd962f0$@samsung.com> <1502097065.27700614.1444392762627.JavaMail.zimbra@redhat.com> <016b01d1028e$13e48510$3bad8f30$@samsung.com> <1940871009.27716806.1444394735127.JavaMail.zimbra@redhat.com> <5617B758.9000303@redhat.com> <018301d10292$d3090700$791b1500$@samsung.com> From: Paolo Bonzini Message-ID: <5617BC06.1010004@redhat.com> Date: Fri, 9 Oct 2015 15:07:18 +0200 MIME-Version: 1.0 In-Reply-To: <018301d10292$d3090700$791b1500$@samsung.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 00/48] ivshmem series List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Fedin , =?UTF-8?Q?'Marc-Andr=c3=a9_Lureau'?= Cc: 'peter maydell' , qemu-devel@nongnu.org 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