Re: [PATCH RFC v5 11/13] vhost/scsi: switch to buf APIs

2020-06-08 Thread Stefan Hajnoczi
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. > > Signed-off-by: Michael S. Tsirkin > --- > drivers/vhost/scsi.c | 73 +

[PATCH RFC v5 11/13] vhost/scsi: switch to buf APIs

2020-06-07 Thread Michael S. Tsirkin
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. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/scsi.c | 73 ++-- 1 file changed, 44 insertions(+), 29 dele