From patchwork Tue Oct 25 10:40:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 121589 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C065A1007DC for ; Tue, 25 Oct 2011 21:41:16 +1100 (EST) Received: from localhost ([::1]:42674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIeRM-00088l-Sq for incoming@patchwork.ozlabs.org; Tue, 25 Oct 2011 06:41:04 -0400 Received: from eggs.gnu.org ([140.186.70.92]:59440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIeRA-00088R-DB for qemu-devel@nongnu.org; Tue, 25 Oct 2011 06:40:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIeR6-0006FK-5E for qemu-devel@nongnu.org; Tue, 25 Oct 2011 06:40:52 -0400 Received: from mail-wy0-f173.google.com ([74.125.82.173]:49684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIeR5-0006FG-Sm for qemu-devel@nongnu.org; Tue, 25 Oct 2011 06:40:48 -0400 Received: by wyh15 with SMTP id 15so379083wyh.4 for ; Tue, 25 Oct 2011 03:40:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer; bh=SDVxDsJDlhQvedxceouqUuc9rAPcak26wA0MuzMgusA=; b=ZC6wDXEQTyWIF1haltjcQTby5pVeKQHAQXCPLhQcWgLvw/36fKRgL/acGgbnZ//NU9 QbVm0OLjBPW9RC8uzrP86I9UluP59bY2An3q00s8iPphJuWymC28Dtn/f42xdoOIrGpU q9jM58r+2KgwqVx3B2qZpwgNb0LlZR8tVej4E= Received: by 10.227.202.71 with SMTP id fd7mr2788424wbb.9.1319539247141; Tue, 25 Oct 2011 03:40:47 -0700 (PDT) Received: from localhost.localdomain (93-34-199-98.ip51.fastwebnet.it. [93.34.199.98]) by mx.google.com with ESMTPS id fr4sm15677349wbb.0.2011.10.25.03.40.45 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 25 Oct 2011 03:40:46 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 25 Oct 2011 12:40:08 +0200 Message-Id: <1319539241-26436-1-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.7.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.173 Cc: kwolf@redhat.com Subject: [Qemu-devel] [PULL v2 00/33] SCSI changes for 1.0, part 1 of 2 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Kevin, The following changes since commit 952e849c150b4f1b89f8728cba00f925c1d6e75b: Merge remote-tracking branch 'bonzini/split-main-loop-for-anthony' into staging (2011-10-24 10:51:12 -0500) are available in the git repository at: git://github.com/bonzini/qemu.git scsi-for-kevin All comments from you have been addressed. I'll send separately patches that require a new review. v1->v2: - rebased - various fixes noted in individual patches - dropped patches 20, 21, 35 - added a separate patch to fix preexisting coding style issues Paolo Bonzini (33): scsi: pass correct sense code for ENOMEDIUM atapi/scsi: unify definitions for MMC atapi: move GESN definitions to scsi-defs.h atapi: cleanup/fix mode sense results scsi: notify the device when unit attention is reported scsi-disk: report media changed via unit attention sense codes scsi-disk: fix coding style issues (braces) scsi-disk: add stubs for more MMC commands scsi-disk: store valid mode pages in a table atapi/scsi-disk: make mode page values coherent between the two scsi-disk: support DVD profile in GET CONFIGURATION scsi-disk: support READ DVD STRUCTURE scsi-disk: report media changed via GET EVENT STATUS NOTIFICATION scsi: move tcq/ndev to SCSIBusOps (now SCSIBusInfo) qdev: switch children device list to QTAILQ scsi: remove devs array from SCSIBus scsi: implement REPORT LUNS for arbitrary LUNs scsi: allow arbitrary LUNs scsi: add channel to addressing scsi-disk: fail READ CAPACITY if LBA != 0 but PMI == 0 scsi-disk: fix retrying a flush scsi-generic: drop SCSIGenericState scsi-generic: remove scsi_req_fixup scsi-generic: check ioctl statuses when SG_IO succeeds scsi-generic: look at host status scsi-generic: snoop READ CAPACITY commands to get block size scsi-disk: do not duplicate BlockDriverState member scsi-disk: remove cluster_size scsi-disk: small clean up to INQUIRY scsi: move max_lba to SCSIDevice scsi: make reqops const scsi: export scsi_generic_reqops scsi: pass cdb to alloc_req hw/acpi_piix4.c | 4 +- hw/esp.c | 16 +- hw/i2c.c | 2 +- hw/ide/atapi.c | 119 ++++------ hw/ide/core.c | 4 +- hw/ide/internal.h | 71 +------ hw/ide/macio.c | 2 +- hw/intel-hda.c | 6 +- hw/lsi53c895a.c | 30 +-- hw/qdev.c | 24 +- hw/qdev.h | 4 +- hw/s390-virtio-bus.c | 4 +- hw/scsi-bus.c | 204 ++++++++++++----- hw/scsi-defs.h | 90 ++++++++ hw/scsi-disk.c | 604 +++++++++++++++++++++++++++++++++++++------------- hw/scsi-generic.c | 154 +++++++------- hw/scsi.h | 33 ++- hw/spapr_vio.c | 6 +- hw/spapr_vscsi.c | 54 ++++- hw/ssi.c | 6 +- hw/usb-msd.c | 8 +- 21 files changed, 931 insertions(+), 514 deletions(-)