From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWapG-0006ed-27 for qemu-devel@nongnu.org; Wed, 25 Jan 2017 22:34:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWapF-0002rd-A0 for qemu-devel@nongnu.org; Wed, 25 Jan 2017 22:34:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58326) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cWapF-0002rB-4L for qemu-devel@nongnu.org; Wed, 25 Jan 2017 22:34:17 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4CD818553C for ; Thu, 26 Jan 2017 03:34:17 +0000 (UTC) From: Fam Zheng Date: Thu, 26 Jan 2017 11:34:05 +0800 Message-Id: <20170126033406.6433-2-famz@redhat.com> In-Reply-To: <20170126033406.6433-1-famz@redhat.com> References: <20170126033406.6433-1-famz@redhat.com> Subject: [Qemu-devel] [PATCH v2 1/2] manual update linux header for virtio scsi fc_host List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , stefanha@redhat.com, "Michael S. Tsirkin" XXX: bring these changes in by syncing once it's added to linux. Signed-off-by: Fam Zheng --- 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