Received: from eggs.gnu.org ([2001:4830:134:3::10]:57997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzkGc-0002Eb-73 for qemu-devel@nongnu.org; Thu, 27 Oct 2016 08:58:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzkGX-0000Oz-9r for qemu-devel@nongnu.org; Thu, 27 Oct 2016 08:58:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40248) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzkGX-0000Og-4G for qemu-devel@nongnu.org; Thu, 27 Oct 2016 08:58:41 -0400 References: <1477495586-5508-1-git-send-email-felipe@nutanix.com> <1477495586-5508-3-git-send-email-felipe@nutanix.com> <682c8748-bd3d-0d90-5654-8d18257c867d@redhat.com> From: Paolo Bonzini Message-ID: <371a8771-1871-2aa7-cf4d-c01e83095007@redhat.com> Date: Thu, 27 Oct 2016 14:58:36 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/2] vus: Introduce a vhost-user-scsi sample application List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Felipe Franciosi Cc: Stefan Hajnoczi , Marc-Andre Lureau , "Michael S. Tsirkin" , "qemu-devel@nongnu.org" , Victor Kaplansky On 27/10/2016 14:48, Felipe Franciosi wrote: > Hello, > >> On 27 Oct 2016, at 13:16, Paolo Bonzini wrote: >> >> >> >> On 26/10/2016 17:26, Felipe Franciosi wrote: >>> This commit introduces a vhost-user-scsi backend sample application. It >>> must be linked with libiscsi and libvhost-user. >>> >>> To use it, compile with: >>> make tests/vhost-user-scsi >>> >>> And run as follows: >>> tests/vhost-user-scsi -u /tmp/vus.sock -i iscsi://uri_to_target/ >>> >>> The application is currently limited at one LUN only and it processes >>> requests synchronously (therefore only achieving QD1). The purpose of >>> the code is to show how a backend can be implemented and to test the >>> vhost-user-scsi Qemu implementation. >>> >>> If a different instance of this vhost-user-scsi application is executed >>> at a remote host, a VM can be live migrated to such a host. >> >> Hi, >> >> the right directory for this is contrib/. > > Cool. I was following suit from vhost-user-bridge which lives in > tests/ today. To me, it makes more sense for these to be in contrib/. > I'll place my sample application there for v2 and perhaps we should move > vhost-user-bridge later? Yes, that would make sense. Adding Victor in Cc. Paolo