Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373799
b: refs/heads/master
c: a18cc42
h: refs/heads/master
i:
  373797: fca74d7
  373795: 973f85f
  373791: 7b66940
v: v3
  • Loading branch information
Asias He authored and Michael S. Tsirkin committed May 7, 2013
1 parent b1ed5cd commit c14adaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7542a6b0d273ba4338028d39bc0e6e8cbfc68898
refs/heads/master: a18cc421649dfdc21edb6c4c867dd05447d7df8c
8 changes: 1 addition & 7 deletions trunk/drivers/vhost/scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,8 @@ enum {
VHOST_SCSI_VQ_IO = 2,
};

/*
* VIRTIO_RING_F_EVENT_IDX seems broken. Not sure the bug is in
* kernel but disabling it helps.
* TODO: debug and remove the workaround.
*/
enum {
VHOST_SCSI_FEATURES = (VHOST_FEATURES & (~VIRTIO_RING_F_EVENT_IDX)) |
(1ULL << VIRTIO_SCSI_F_HOTPLUG)
VHOST_SCSI_FEATURES = VHOST_FEATURES | (1ULL << VIRTIO_SCSI_F_HOTPLUG)
};

#define VHOST_SCSI_MAX_TARGET 256
Expand Down

0 comments on commit c14adaf

Please sign in to comment.