projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11c6341
)
tcm_vhost: Enable VIRTIO_SCSI_F_HOTPLUG
author
Asias He
<asias@redhat.com>
Thu, 25 Apr 2013 07:35:23 +0000
(15:35 +0800)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Thu, 25 Apr 2013 08:07:58 +0000
(
01:07
-0700)
Everything for hotplug is ready. Let's enable the feature bit.
Signed-off-by: Asias He <asias@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/vhost/tcm_vhost.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/vhost/tcm_vhost.c
b/drivers/vhost/tcm_vhost.c
index 07217d818ad7a8496d586b8469cfe5cb0f02c52e..1677238d281f6f33ca45a9edecd8550ab1c2b2be 100644
(file)
--- a/
drivers/vhost/tcm_vhost.c
+++ b/
drivers/vhost/tcm_vhost.c
@@
-66,7
+66,8
@@
enum {
* TODO: debug and remove the workaround.
*/
enum {
- VHOST_SCSI_FEATURES = VHOST_FEATURES & (~VIRTIO_RING_F_EVENT_IDX)
+ VHOST_SCSI_FEATURES = (VHOST_FEATURES & (~VIRTIO_RING_F_EVENT_IDX)) |
+ (1ULL << VIRTIO_SCSI_F_HOTPLUG)
};
#define VHOST_SCSI_MAX_TARGET 256