diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-08-16 21:56:34 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-08-16 22:03:13 -0400 |
commit | 5b7517f81449067caf3d402e4abc6cd92096fe62 (patch) | |
tree | e1680ebdaecdd2192a59bde8ebeac2e765154e9d /drivers/vhost | |
parent | d0e27c88d795fb9647153063ec48051fd84e1731 (diff) |
tcm_vhost: Change vhost_scsi_target->vhost_wwpn to char *
This patch changes the vhost_scsi_target->vhost_wwpn[] type used
by VHOST_SCSI_* ioctls to 'char *' as requested by Blue Swirl in
order to match the latest QEMU vhost-scsi RFC-v3 userspace code.
Queuing this up into target-pending/master for a -rc3 PULL.
Reported-by: Blue Swirl <blauwirbel@gmail.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/vhost')
-rw-r--r-- | drivers/vhost/tcm_vhost.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/tcm_vhost.h b/drivers/vhost/tcm_vhost.h index eff42df14de9..e9d5c020fb39 100644 --- a/drivers/vhost/tcm_vhost.h +++ b/drivers/vhost/tcm_vhost.h | |||
@@ -91,7 +91,7 @@ struct tcm_vhost_tport { | |||
91 | 91 | ||
92 | struct vhost_scsi_target { | 92 | struct vhost_scsi_target { |
93 | int abi_version; | 93 | int abi_version; |
94 | unsigned char vhost_wwpn[TRANSPORT_IQN_LEN]; | 94 | char vhost_wwpn[TRANSPORT_IQN_LEN]; |
95 | unsigned short vhost_tpgt; | 95 | unsigned short vhost_tpgt; |
96 | }; | 96 | }; |
97 | 97 | ||