From: Stefan Hajnoczi <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Zhi Yong Wu <[email protected]>
---
hw/virtio-scsi.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/virtio-scsi.h b/hw/virtio-scsi.h
index 9cddacb..f66d12c 100644
--- a/hw/virtio-scsi.h
+++ b/hw/virtio-scsi.h
@@ -40,9 +40,9 @@ struct vhost_vring_target {
};
typedef struct {
- /* The tcm_vhost wwpn and tgpt */
+ /* The tcm_vhost wwpn and tpgt */
char *wwpn;
- char *tgpt;
+ uint16_t tpgt;
} VirtIOSCSIConf;
#endif /* _QEMU_VIRTIO_SCSI_H */
--
1.7.6