diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-03-27 17:23:41 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-03-28 23:42:47 -0700 |
commit | 5dade71050e799d8679698a6145e2ba46cdeac2a (patch) | |
tree | 305a6afdd30ea073b0ce6fc8ee952405993bff16 /drivers/target | |
parent | 8f27d487bcc2bd603c2d87e1729abcbc301f15db (diff) | |
download | linux-5dade71050e799d8679698a6145e2ba46cdeac2a.tar.bz2 |
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 'drivers/target')
0 files changed, 0 insertions, 0 deletions