linux-sg2042/drivers/vhost
Michael S. Tsirkin 295c1b9852 vhost/scsi: fix up req type endian-ness
vhost/scsi doesn't handle type conversion correctly
for request type when using virtio 1.0 and up for BE,
or cross-endian platforms.

Fix it up using vhost_32_to_cpu.

Cc: stable@vger.kernel.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
2020-07-29 13:24:30 -04:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile vhost: introduce vDPA-based backend 2020-04-02 10:41:40 -04:00
iotlb.c vhost: factor out IOTLB 2020-04-01 12:06:26 -04:00
net.c virtio: features, fixes 2020-06-10 13:42:09 -07:00
scsi.c vhost/scsi: fix up req type endian-ness 2020-07-29 13:24:30 -04:00
test.c tools/virtio: Add --reset 2020-06-22 12:34:21 -04:00
test.h tools/virtio: Add --reset 2020-06-22 12:34:21 -04:00
vdpa.c vhost_vdpa: Fix potential underflow in vhost_vdpa_mmap() 2020-06-22 12:34:21 -04:00
vhost.c Merge branch 'akpm' (patches from Andrew) 2020-06-11 13:25:53 -07:00
vhost.h vhost: allow device that does not depend on vhost worker 2020-06-04 15:36:51 -04:00
vringh.c virtio: force spec specified alignment on types 2020-06-02 02:45:13 -04:00
vsock.c vhost: allow device that does not depend on vhost worker 2020-06-04 15:36:51 -04:00