From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87D02C07E95 for ; Tue, 20 Jul 2021 09:56:44 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3515960FE9 for ; Tue, 20 Jul 2021 09:56:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3515960FE9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=canishe.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:41020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5mUV-0001Cr-73 for qemu-devel@archiver.kernel.org; Tue, 20 Jul 2021 05:56:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5mTY-0008Mj-1W for qemu-devel@nongnu.org; Tue, 20 Jul 2021 05:55:44 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:57555) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5mTV-00085V-Vl for qemu-devel@nongnu.org; Tue, 20 Jul 2021 05:55:43 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 7BDDA5C034E; Tue, 20 Jul 2021 05:55:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 20 Jul 2021 05:55:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canishe.com; h= from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:cc:to; s=fm2; bh=5VAOhqmK7BzBMQxT5/brckcI3iH6oX hxcrXXJL3XBpE=; b=iJFUgJo9JhPHuxHLUCs5N9A81hCUw0/TPkOGwbuggtvOrZ gG90sbcpMG5q9jQj6zTHVhDE1li9Jy5c07VUvafyAN6l14gaP0gM9eoOOgGH+gcR JdnZhH0U7f+tm25THhj8iBdXQ5kmjTy3I2uEvUZGNX+I5DT0dy/G1wJV9oVLYTSI e+OWG2PSofoSAVgiWpNcYX90J7xUmSHg44dT4XXN0sodXi6+fkNw/X4wlWiAChHa YHovRQUkKmhyzK3UH6zxPASrhanO/2jCKiHeoDA7bmjBwbum5P16y25vhVg3ytbL kPEZOXFgupq55QNpqlb15MOxjCE3zpeiitFwmoHg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=5VAOhq mK7BzBMQxT5/brckcI3iH6oXhxcrXXJL3XBpE=; b=UFB0nVlcj5Nkb6DOg/Pcho k39pIXSjG9yAWS4L22FgnOpJwXCLr7DquYZDfJ3CMU+Eo9Iz3SFOoHIVMEtuAy21 sAdDh2soHwtyxXvZLOBgjMNfD5jLlDNefi8angU+IWnEGhpy+55KDvmD4gvs8UNh O2Z9BAkjUfULij/gGB/Oo4LpJSRLl6chQwzaPeg72XdbulwJJw4FSWc/x+OiU8Dq g2SUYKAWaLG4O2HVcbVkdr97xoV85J/T0X3JdDPxrJnYUb4Lz12lxQ4jrRItLqs5 Nu5C11yXztHGTpFJ+K2TGfUfgS9IRg5092T2vWd/nG1SPiQ+P5ceLcJytfNELeDQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfedvgddvudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhtgfgggfukfffvffosehtjehmtdhhtddvnecuhfhrohhmpefirggvlhgrnhcu ufhtvggvlhgvuceoghgsshestggrnhhishhhvgdrtghomheqnecuggftrfgrthhtvghrnh ephefguedtgfektdekudelieetudefteehkeeiuefhleehhfehueeiffdvueeiueevnecu ffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehgsghssegtrghnihhshhgvrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 20 Jul 2021 05:55:36 -0400 (EDT) From: Gaelan Steele Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3681.0.2.1.2\)) Subject: [RFC] Rust vhost-user-scsi implementation Message-Id: Date: Tue, 20 Jul 2021 02:55:35 -0700 To: qemu-devel@nongnu.org X-Mailer: Apple Mail (2.3681.0.2.1.2) Received-SPF: none client-ip=66.111.4.28; envelope-from=gbs@canishe.com; helo=out4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Hajnoczi , Sergio Lopez Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Hi all, I've been working as one of QEMU's Google Summer of Code interns to implement a vhost-user-scsi daemon in Rust. That work's now reached a point where it's usable to attach read-only raw disk images to a VM, and I'd like to get some feedback from the QEMU community, especially anyone with experience with the SCSI protocol. My code, and some further information, are available at https://github.com/rust-vmm/vhost-device/pull/4 or https://github.com/Gaelan/vhost-device.git#scsi-v1. Feedback is welcome either on GitHub or by email. If people here would prefer me to send the code as a patch to this list, I could do that as well. Thanks! Gaelan Steele