Patchwork [PULL,v2,00/33] SCSI changes for 1.0, part 1 of 2

login
register
mail settings
Submitter Paolo Bonzini
Date Oct. 25, 2011, 10:40 a.m.
Message ID <1319539241-26436-1-git-send-email-pbonzini@redhat.com>
Download mbox
Permalink /patch/121589/
State New
Headers show

Pull-request

git://github.com/bonzini/qemu.git scsi-for-kevin

Comments

Paolo Bonzini - Oct. 25, 2011, 10:40 a.m.
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(-)
Paolo Bonzini - Oct. 27, 2011, 11:45 a.m.
On 10/25/2011 12:40 PM, Paolo Bonzini wrote:
> 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(-)
>

Ping?

Paolo