qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 1/2] manual update linux header for virtio scsi f


From: Fam Zheng
Subject: [Qemu-devel] [PATCH v2 1/2] manual update linux header for virtio scsi fc_host
Date: Thu, 26 Jan 2017 11:34:05 +0800

XXX: bring these changes in by syncing once it's added to linux.

Signed-off-by: Fam Zheng <address@hidden>
---
 include/standard-headers/linux/virtio_scsi.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/standard-headers/linux/virtio_scsi.h 
b/include/standard-headers/linux/virtio_scsi.h
index ab66166..b37c395 100644
--- a/include/standard-headers/linux/virtio_scsi.h
+++ b/include/standard-headers/linux/virtio_scsi.h
@@ -113,6 +113,11 @@ struct virtio_scsi_config {
        uint16_t max_channel;
        uint16_t max_target;
        uint32_t max_lun;
+       uint8_t  primary_wwpn[8];
+       uint8_t  primary_wwnn[8];
+       uint8_t  secondary_wwpn[8];
+       uint8_t  secondary_wwnn[8];
+       uint8_t  primary_active;
 } QEMU_PACKED;
 
 /* Feature Bits */
@@ -120,6 +125,7 @@ struct virtio_scsi_config {
 #define VIRTIO_SCSI_F_HOTPLUG                  1
 #define VIRTIO_SCSI_F_CHANGE                   2
 #define VIRTIO_SCSI_F_T10_PI                   3
+#define VIRTIO_SCSI_F_FC_HOST                  4
 
 /* Response codes */
 #define VIRTIO_SCSI_S_OK                       0
-- 
2.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]