From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from s3.sipsolutions.net ([2a01:4f8:191:4433::2] helo=sipsolutions.net) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hU6uN-0002Rn-S6 for linux-um@lists.infradead.org; Fri, 24 May 2019 09:54:42 +0000 Message-ID: Subject: Re: [Qemu-devel] custom virt-io support (in user-mode-linux) From: Johannes Berg Date: Fri, 24 May 2019 11:54:26 +0200 In-Reply-To: (sfid-20190523_164131_760945_C45BA0A2) References: <0952696452f5ff4e38d2417029243fc60efa33d6.camel@sipsolutions.net> <20190523115950.GH26632@stefanha-x1.localdomain> <41d64b8971a097d1568f947517b45d09c156ccc8.camel@sipsolutions.net> (sfid-20190523_164131_760945_C45BA0A2) Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org To: Stefan Hajnoczi Cc: ido@wizery.com, linux-um@lists.infradead.org, qemu-devel , Linux Virtualization On Thu, 2019-05-23 at 15:41 +0100, Stefan Hajnoczi wrote: > > Also, not sure I understand how the client is started? > > The vhost-user device backend can be launched before QEMU. QEMU is > started with the UNIX domain socket path so it can connect. Hmm. I guess I'm confusing the terminology then - I thought qemu was the server and the backend was the client that connects to it. If it's the other way around, yeah, that makes things easier and certainly makes sense (you could have a daemon that implements something). > QEMU itself doesn't fork+exec the vhost-user device backend. It's > expected that the user or the management stack has already launched > the vhost-user device backend. Right. > > Do you know if there's a sample client/server somewhere? > > See contrib/libvhost-user in the QEMU source tree as well as the > vhost-user-blk and vhost-user-scsi examples in the contrib/ directory. Awesome, thanks! johannes _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um