projects
/
openwrt
/
staging
/
blogic.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
<
[email protected]
>
Thu, 25 Apr 2013 07:35:23 +0000
(15:35 +0800)
committer
Nicholas Bellinger
<
[email protected]
>
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 <
[email protected]
>
Acked-by: Michael S. Tsirkin <
[email protected]
>
Signed-off-by: Nicholas Bellinger <
[email protected]
>
drivers/vhost/tcm_vhost.c
patch
|
blob
|
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