diff options
author | 2013-03-27 17:23:41 -0700 | |
---|---|---|
committer | 2013-03-28 23:42:47 -0700 | |
commit | 5dade71050e799d8679698a6145e2ba46cdeac2a (patch) | |
tree | 305a6afdd30ea073b0ce6fc8ee952405993bff16 /net/unix/af_unix.c | |
parent | target/pscsi: Reject cross page boundary case in pscsi_map_sg (diff) | |
download | wireguard-linux-5dade71050e799d8679698a6145e2ba46cdeac2a.tar.xz wireguard-linux-5dade71050e799d8679698a6145e2ba46cdeac2a.zip |
tcm_vhost: Avoid VIRTIO_RING_F_EVENT_IDX feature bit
This patch adds a VHOST_SCSI_FEATURES mask minus VIRTIO_RING_F_EVENT_IDX
so that vhost-scsi-pci userspace will strip this feature bit once
GET_FEATURES reports it as being unsupported on the host.
This is to avoid a bug where ->handle_kicks() are missed when EVENT_IDX
is enabled by default in userspace code.
(mst: Rename to VHOST_SCSI_FEATURES + add comment)
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Asias He <asias@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions