qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 0/9] scsi-disk: support toggling the write cache
Date: Tue, 10 Jul 2012 16:15:02 +0200	[thread overview]
Message-ID: <1341929710-21574-1-git-send-email-pbonzini@redhat.com> (raw)

This series extracts some pending patches I had lying around
that refactor scsi-disk to be more table-driven and enable support
for emulated requests where data flows _to_ the SCSI device.  This
is then used to support MODE SELECT and in particular toggling the
write cache.

Paolo

Paolo Bonzini (8):
  scsi-disk: make discard asynchronous
  scsi-disk: move all non-DMA commands to scsi_disk_emulate_command
  scsi-disk: split scsi-disk reqops
  scsi-disk: separate read_data/write_data implementation for emulate_reqops
  scsi-disk: support emulated TO_DEV requests
  scsi-disk: fix changeable values for MODE_PAGE_R_W_ERROR
  scsi-disk: parse MODE SELECT commands and parameters
  scsi-disk: support toggling the write cache

 hw/scsi-bus.c  |   10 ++
 hw/scsi-disk.c |  550 +++++++++++++++++++++++++++++++++++++++-----------------
 hw/scsi.h      |    4 +
 3 files changed, 402 insertions(+), 162 deletions(-)

-- 
1.7.10.4

             reply	other threads:[~2012-07-10 14:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-10 14:15 Paolo Bonzini [this message]
2012-07-10 14:15 ` [Qemu-devel] [PATCH 1/8] scsi-disk: make discard asynchronous Paolo Bonzini
2012-07-10 14:15 ` [Qemu-devel] [PATCH 2/8] scsi-disk: move all non-DMA commands to scsi_disk_emulate_command Paolo Bonzini
2012-07-10 14:15 ` [Qemu-devel] [PATCH 3/8] scsi-disk: split scsi-disk reqops Paolo Bonzini
2012-07-10 14:15 ` [Qemu-devel] [PATCH 4/8] scsi-disk: separate read_data/write_data implementation for emulate_reqops Paolo Bonzini
2012-07-10 14:15 ` [Qemu-devel] [PATCH 5/8] scsi-disk: support emulated TO_DEV requests Paolo Bonzini
2012-07-10 14:15 ` [Qemu-devel] [PATCH 6/8] scsi-disk: fix changeable values for MODE_PAGE_R_W_ERROR Paolo Bonzini
2012-07-10 14:15 ` [Qemu-devel] [PATCH 7/8] scsi-disk: parse MODE SELECT commands and parameters Paolo Bonzini
2012-07-10 14:15 ` [Qemu-devel] [PATCH 8/8] scsi-disk: support toggling the write cache Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1341929710-21574-1-git-send-email-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).