Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4245782ybg; Mon, 8 Jun 2020 02:59:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjrtwcmB/Ku9ryDsnbH4ef8BLxAoVG2vgysLyoPfZSSXarL1XkuiVh0wIggIHxhaTRx3A4 X-Received: by 2002:a17:906:edd8:: with SMTP id sb24mr19547885ejb.25.1591610365053; Mon, 08 Jun 2020 02:59:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591610365; cv=none; d=google.com; s=arc-20160816; b=QLvCMTkJHNjNxQIHugtVhgY/sXTj8enSCqpGb6/6HdgwhEJOfgq0W8aayEDmnvBERb aZtJgX94uCTW94aKmygqCoU7IRCdyOi+kgtBwBrq/fP+lNZrWZlPXJN5bK+DybdtWoME OkzNh1mfSa2yxxp0323bx/i8m1lneYj8/8uwx2TkEBnkUr9zrKEoebq2kdc4BTvbGtlc xZpN/B2Qbtfp/a1vslJ8zY+h8cRc+B+lNARrH7f1Z7Xsb/sO6IfupELtSQ46NBXqEkno vpVH3eQksNsrf7Cn3jWrH5nEwsM2ZZaQ5MADyoay3yTSBZM1O81DORpTO1yPKsILRwnP 1+Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=irlh/DAmGezzFSz/ZBwka7zqE6vVCqBDs6ozHXOIxqY=; b=01nYCfZhZmltJ0kM67akC7jCEh9m8Zk5/7UM0UtoVICEDwCKzQqNJG9GSzf50lZbjt 7TUfU4Zu34ZlvEMXdS8Kwv3M9N/UyRX37FCY1v3hMKrhUKf+h8MgcsmAboJ2MqLnu+MZ ZSSpQuPSV3JEB/Wcg0YSMTB+0T1tyKx3Zjfn97t0KWHExRBacMxTqIySJ8XrMW91kv1l lD2X2SZyOChqX6c463s7MVBm0odbGqjkoreV3zTZfbMF+FV7hP2FWK06/xlOIhFZL/Sn zyaLAiPDz35RrAO3bQMilRVkYIBi/dG77AGB0/g20msqtbLeoUaD69+kCUd3rlbnBZwe zl/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EngZ9vYw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t4si8052175eds.217.2020.06.08.02.59.01; Mon, 08 Jun 2020 02:59:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EngZ9vYw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729271AbgFHJ5S (ORCPT + 99 others); Mon, 8 Jun 2020 05:57:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728745AbgFHJ5R (ORCPT ); Mon, 8 Jun 2020 05:57:17 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37FE6C08C5C3; Mon, 8 Jun 2020 02:57:16 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id q11so16702956wrp.3; Mon, 08 Jun 2020 02:57:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=irlh/DAmGezzFSz/ZBwka7zqE6vVCqBDs6ozHXOIxqY=; b=EngZ9vYwjWfjJRgmP5bX1bo/qHbsxx85LLqxWUmO8c7u3d+JbZn5DNJCLIZ+i84LnX H3diKX8V9KBpQOv8CPJ8GRwqJf93FpaocP5msBC+L+erbYF55mdnYYpMN17bvAdj389D Yd0mrpJkTb8eRXVqqFa8GZbqY5m4h0ZNW7SpZz6Yj0OU2ol93aoVsIa73q1xzXpJU+cv +7nLuX/sRwV4BMPDPLLdF5mMZZouXn64XQy9RANABnhLwaAFAW6gY5p70M9lnil07N/G E1eZ0d3g5aAMPySs8MpXyZ798UDZVAo603is4axZif/QLMA3Kexo9en9GYOUBSJL6Rz5 7rsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=irlh/DAmGezzFSz/ZBwka7zqE6vVCqBDs6ozHXOIxqY=; b=VfA54iIHG+Zojy/cjjLKneiICLM/NLa6U2xUYGEvPsljqtjJSbHjOVPCfHKzWref5z m565yk4hzTWmFO7MGASYqKLqK2epXAzBuKDqYjtTWTwvDVRIm6RfEw/8c23LEv8fEqVa 9cCdxnbnnjR1jJCRMCTsX3VmspuIRKkhEJm7u1+mA8irGE+/Hsq1wbzWh5ftK+vmkxhL hU47/0I850ifzXb1N7HD9B1B/YLJWlQ7M/jPij93WcgmHH7GFsFmg/fNc6EU3T3Ur49A 39VpbxeotztpQCI2wEMSnDDPsf6cYjlJT+BwdI4EXdJ3RuqXHnLlssctmawwqKS9s4bT UQsQ== X-Gm-Message-State: AOAM533YqwXy8TcwpO34RExeiWwrZThNbEEe52dvNUTT01OOYWX9q5ZR 83xn8RYRlexTaGQzdvb4VKA= X-Received: by 2002:adf:d852:: with SMTP id k18mr22928605wrl.177.1591610234965; Mon, 08 Jun 2020 02:57:14 -0700 (PDT) Received: from localhost ([51.15.41.238]) by smtp.gmail.com with ESMTPSA id c70sm11547618wme.32.2020.06.08.02.57.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jun 2020 02:57:14 -0700 (PDT) Date: Mon, 8 Jun 2020 10:57:12 +0100 From: Stefan Hajnoczi To: "Michael S. Tsirkin" Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, netdev@vger.kernel.org, virtualization@lists.linux-foundation.org, eperezma@redhat.com, Stefan Hajnoczi , Paolo Bonzini Subject: Re: [PATCH RFC v5 11/13] vhost/scsi: switch to buf APIs Message-ID: <20200608095712.GD83191@stefanha-x1.localdomain> References: <20200607141057.704085-1-mst@redhat.com> <20200607141057.704085-12-mst@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3Gf/FFewwPeBMqCJ" Content-Disposition: inline In-Reply-To: <20200607141057.704085-12-mst@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --3Gf/FFewwPeBMqCJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 07, 2020 at 10:11:46AM -0400, Michael S. Tsirkin wrote: > Switch to buf APIs. Doing this exposes a spec violation in vhost scsi: > all used bufs are marked with length 0. > Fix that is left for another day. >=20 > Signed-off-by: Michael S. Tsirkin > --- > drivers/vhost/scsi.c | 73 ++++++++++++++++++++++++++------------------ > 1 file changed, 44 insertions(+), 29 deletions(-) Reviewed-by: Stefan Hajnoczi --3Gf/FFewwPeBMqCJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAl7eC3gACgkQnKSrs4Gr c8jC3Af+LPXirMBmRcs7FQbxFSgLfLDjpnub+fLUo+dN0CH5ElfkoqGW6HJ8d7er qlDKL+3ZPm1i0cRsqnN+xg6qZ2UKbC83RHrZ1z12NzkrluuFD4knW3/gjyyQPXvw N8QQvguhNCO6DJ5yj8njHLuaAi44jkigVA5kFA5e8EFjsGHSQhoamQH23M/89rey FOot5VmlwGfXtL216ALh6oIoLPuVvrQlQA6iVZGxXP4hgv+z7mJXzLmfJ7l2UnkB OrdaqlvJcy4ZpKXZtVl5kfLbvRMuuv6a1OeLKW/FU2pJKxa5gn8WGdek5o5XrmpP Uf/M6MvauUK5c9F369S2pWsEv+mqag== =6nV4 -----END PGP SIGNATURE----- --3Gf/FFewwPeBMqCJ--