From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V19id-0000XM-Ch for qemu-devel@nongnu.org; Mon, 22 Jul 2013 02:35:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V19ib-00056q-KF for qemu-devel@nongnu.org; Mon, 22 Jul 2013 02:35:38 -0400 Message-ID: <1374474925.3916.34.camel@pasglop> From: Benjamin Herrenschmidt Date: Mon, 22 Jul 2013 16:35:25 +1000 In-Reply-To: <51ECD190.60700@redhat.com> References: <1374401042-18511-1-git-send-email-aik@ozlabs.ru> <1374442491.3916.2.camel@pasglop> <51EC7AC9.3080306@ozlabs.ru> <1374452612.3916.17.camel@pasglop> <51EC8381.4020801@ozlabs.ru> <1374455044.3916.27.camel@pasglop> <51ECD190.60700@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH] spapr-vscsi: add task management List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Anthony Liguori , Alexey Kardashevskiy , Alexander Graf , qemu-devel@nongnu.org, Paul Mackerras , qemu-ppc@nongnu.org, David Gibson On Mon, 2013-07-22 at 08:30 +0200, Paolo Bonzini wrote: > I suggest you check in the relevant part of the vscsi spec how you are > supposed to send back errors ("FUNCTION REJECTED", "INCORRECT LUN"). > Once you do that, implementing the "query" TMFs is trivial. The vscsi spec is just the transport around SRP, so not very useful, mostly it's the SRP spec that matters. IE. VSCSI is just SRP inside a special hypervisor tube :-) Cheers, Ben.