From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWapE-0006eY-UA for qemu-devel@nongnu.org; Wed, 25 Jan 2017 22:34:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWapB-0002qo-Pp for qemu-devel@nongnu.org; Wed, 25 Jan 2017 22:34:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54864) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cWapB-0002pl-KK for qemu-devel@nongnu.org; Wed, 25 Jan 2017 22:34:13 -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 8327A7F368 for ; Thu, 26 Jan 2017 03:34:13 +0000 (UTC) From: Fam Zheng Date: Thu, 26 Jan 2017 11:34:04 +0800 Message-Id: <20170126033406.6433-1-famz@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] virtio-scsi: Implement fc_host feature 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" v2: Use big endian for WWNN/WWPN fields. [Paolo] Clean up vm state change notifier in error/unrealize. [Stefan] This implements a WIP feature extention being proposed on virtio-scsi. We assign a set of Fibre Channel properties, WWNN and WWPN (world wide node name and port name, respectively) to the device so the virtual device presents a FC transport in guest. They are useful to identify a host side virtual port on an FC host, in a NPIV (N_Port ID Virtualization) senario. The linux driver changes are submitted as: https://lkml.org/lkml/2017/1/16/439 Fam Zheng (2): manual update linux header for virtio scsi fc_host virtio-scsi: Implement fc_host feature hw/scsi/virtio-scsi.c | 72 +++++++++++++++++++++++++++- include/hw/virtio/virtio-scsi.h | 10 ++++ include/standard-headers/linux/virtio_scsi.h | 6 +++ 3 files changed, 86 insertions(+), 2 deletions(-) -- 2.9.3