From: Nicholas Bellinger Date: Thu, 28 Mar 2013 00:23:41 +0000 (-0700) Subject: tcm_vhost: Avoid VIRTIO_RING_F_EVENT_IDX feature bit X-Git-Tag: v3.9-rc5~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dade71050e799d8679698a6145e2ba46cdeac2a;p=pandora-kernel.git 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 Reviewed-by: Asias He Cc: Paolo Bonzini Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed