Received: from eggs.gnu.org ([2001:4830:134:3::10]:35045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIi1T-0001Pd-9G for qemu-devel@nongnu.org; Mon, 11 Jan 2016 14:21:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIi1O-0001KQ-Md for qemu-devel@nongnu.org; Mon, 11 Jan 2016 14:20:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIi1O-0001KJ-Gi for qemu-devel@nongnu.org; Mon, 11 Jan 2016 14:20:54 -0500 From: Markus Armbruster References: <1449201120-3432-1-git-send-email-mukawa@igel.co.jp> Date: Mon, 11 Jan 2016 20:20:50 +0100 In-Reply-To: (=?utf-8?Q?=22Marc-Andr=C3=A9?= Lureau"'s message of "Mon, 7 Dec 2015 12:31:30 +0100") Message-ID: <87oacrsz1p.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] ivshmem: Store file descriptor for vhost-user negotiation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Cc: Tetsuya Mukawa , QEMU , "Michael S. Tsirkin" Marc-Andr=C3=A9 Lureau writes: > Hi > > On Fri, Dec 4, 2015 at 3:55 PM, Tetsuya Mukawa wrote: >>> What's the use case or test case? >> >> One of example is userspace device driver like DPDK PMD. >> Actually, I've found this fd related behavior using DPDK virtio-net PMD. >> Could you please check below to know my use case more? >> http://thread.gmane.org/gmane.comp.networking.dpdk.devel/28467/focus=3D2= 8493 > > Thanks. Why not use memory-backend-file with share=3Don ? I think I > understand you want to use the same BAR address as the host shared > memory location to avoid extra offset computation. I don't know about > the limitations here. Is this extra offset really worth saving? > Finally, I wonder what qemu is really doing in the end ;) Tetsuya, I still don't understand what you're trying to accomplish. I concur with Marc-Andr=C3=A9 that -object memory-backend-FOO is how we allocate a memory object for something else to use. > Michael, could you comment about this vhost-user use case? (see above > linked thread)