From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkX56-0001fp-8D for qemu-devel@nongnu.org; Fri, 09 Oct 2015 08:47:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkX52-0007d0-QL for qemu-devel@nongnu.org; Fri, 09 Oct 2015 08:47:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkX52-0007ce-L0 for qemu-devel@nongnu.org; Fri, 09 Oct 2015 08:47:24 -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> From: Paolo Bonzini Message-ID: <5617B758.9000303@redhat.com> Date: Fri, 9 Oct 2015 14:47:20 +0200 MIME-Version: 1.0 In-Reply-To: <1940871009.27716806.1444394735127.JavaMail.zimbra@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PULL 00/48] ivshmem series List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , Pavel Fedin Cc: marcandre lureau , qemu-devel@nongnu.org, peter maydell On 09/10/2015 14:45, Marc-Andr=C3=A9 Lureau wrote: > Hi >=20 > ----- Original Message ----- >> Hello! >> >>> file_ram_alloc() only allocates with temporary files, even when using >>> share=3Dtrue. >> >> Yes. I wonder, what's the purpose of share=3Dtrue then. >=20 > 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