qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/12] scsi-disk: Add DVD-ROM support and media change + atapi: nitpicking
@ 2011-09-20 15:26 Paolo Bonzini
  2011-09-20 15:26 ` [Qemu-devel] [PATCH 01/12] scsi: pass correct sense code for ENOMEDIUM Paolo Bonzini
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Paolo Bonzini @ 2011-09-20 15:26 UTC (permalink / raw)
  To: qemu-devel

This series brings scsi-disk and ide/atapi almost on feature parity.
After this series, the only missing feature in scsi-disk is the READ
CD command.  The main addition is media change support, both via
unit attention and via GET EVENT STATUS NOTIFICATION.

I originally planned to work on this after migration, but since media
change supports adds a couple of fields that have to be migrated, it
is better to include this early.

The actual packets are still sometimes different, mostly in irrelevant
details, but apart from READ CD the implemented commands are the same.

Unifying the two implementations is a much larger job, and would likely
require significant work in the block layer too.  It may come out nicely
as a byproduct of more SCSI features (e.g. SCSI passthrough for iSCSI
devices) but not soon.

Paolo Bonzini (12):
  scsi: pass correct sense code for ENOMEDIUM
  atapi/scsi: unify definitions for MMC
  atapi: move GESN definitions to scsi-defs.h
  atapi: fill in AUDIO_CTL page correctly
  scsi: notify the device when unit attention is reported
  scsi-disk: report media changed via unit attention sense codes
  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

 hw/ide/atapi.c    |  109 ++++++-----------
 hw/ide/core.c     |    4 +-
 hw/ide/internal.h |   71 +-----------
 hw/ide/macio.c    |    2 +-
 hw/scsi-bus.c     |   39 +++++-
 hw/scsi-defs.h    |   90 ++++++++++++++
 hw/scsi-disk.c    |  341 ++++++++++++++++++++++++++++++++++++++++++++++++-----
 hw/scsi.h         |    4 +
 8 files changed, 482 insertions(+), 178 deletions(-)

-- 
1.7.6

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-09-20 15:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-20 15:26 [Qemu-devel] [PATCH 00/12] scsi-disk: Add DVD-ROM support and media change + atapi: nitpicking Paolo Bonzini
2011-09-20 15:26 ` [Qemu-devel] [PATCH 01/12] scsi: pass correct sense code for ENOMEDIUM Paolo Bonzini
2011-09-20 15:26 ` [Qemu-devel] [PATCH 02/12] atapi/scsi: unify definitions for MMC Paolo Bonzini
2011-09-20 15:26 ` [Qemu-devel] [PATCH 03/12] atapi: move GESN definitions to scsi-defs.h Paolo Bonzini
2011-09-20 15:26 ` [Qemu-devel] [PATCH 04/12] atapi: fill in AUDIO_CTL page correctly Paolo Bonzini
2011-09-20 15:26 ` [Qemu-devel] [PATCH 05/12] scsi: notify the device when unit attention is reported Paolo Bonzini
2011-09-20 15:26 ` [Qemu-devel] [PATCH 06/12] scsi-disk: report media changed via unit attention sense codes Paolo Bonzini
2011-09-20 15:26 ` [Qemu-devel] [PATCH 07/12] scsi-disk: add stubs for more MMC commands Paolo Bonzini
2011-09-20 15:26 ` [Qemu-devel] [PATCH 08/12] scsi-disk: store valid mode pages in a table Paolo Bonzini
2011-09-20 15:26 ` [Qemu-devel] [PATCH 09/12] atapi/scsi-disk: make mode page values coherent between the two Paolo Bonzini
2011-09-20 15:26 ` [Qemu-devel] [PATCH 10/12] scsi-disk: support DVD profile in GET CONFIGURATION Paolo Bonzini
2011-09-20 15:26 ` [Qemu-devel] [PATCH 11/12] scsi-disk: support READ DVD STRUCTURE Paolo Bonzini
2011-09-20 15:26 ` [Qemu-devel] [PATCH 12/12] scsi-disk: report media changed via GET EVENT STATUS NOTIFICATION Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).