Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S940275AbdDSXNO (ORCPT ); Wed, 19 Apr 2017 19:13:14 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:41825 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938359AbdDSXNL (ORCPT ); Wed, 19 Apr 2017 19:13:11 -0400 To: David Gibson Cc: stefanha@redhat.com, pbonzini@redhat.com, famz@redhat.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] virtio_scsi: Always try to read VPD pages From: "Martin K. Petersen" Organization: Oracle Corporation References: <20170413021300.25023-1-david@gibson.dropbear.id.au> Date: Wed, 19 Apr 2017 19:12:56 -0400 In-Reply-To: <20170413021300.25023-1-david@gibson.dropbear.id.au> (David Gibson's message of "Thu, 13 Apr 2017 12:13:00 +1000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: userv0021.oracle.com [156.151.31.71] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 519 Lines: 16 David, > Passed through SCSI targets may have transfer limits which come from > the host SCSI controller something on the host side other than the > target itself. > > To make this work properly, the hypervisor can adjust the target's VPD > information to advertise these limits. But for that to work, the > guest has to look at the VPD pages, which we won't do by default if it > is an SPC-2 device, even if it does actually support it. Applied to 4.12/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering