qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>
Subject: [Qemu-devel] [PATCH 0/4] rerror option for -drive
Date: Fri, 27 Nov 2009 13:25:35 +0100	[thread overview]
Message-ID: <1259324739-6805-1-git-send-email-kwolf@redhat.com> (raw)

We already have a werror option in -drive that controls the action to be taken
when write accesses to the image fail. A corresponding option for reads is
still missing and is added by this patch series.

The option is implemented on IDE and virtio-blk. I have left out SCSI for now
to avoid conflicts with kraxel's major restructuring work.

Kevin Wolf (4):
  Rename DriveInfo.onerror to on_write_error
  Introduce rerror option for drives
  ide: Implement rerror option
  virtio-blk: Implement rerror option

 hw/ide/core.c     |   54 +++++++++++++++++++++++++++++++++---------------
 hw/ide/internal.h |    1 +
 hw/scsi-disk.c    |    3 +-
 hw/virtio-blk.c   |   13 +++++++----
 qemu-config.c     |    3 ++
 sysemu.h          |    7 ++++-
 vl.c              |   58 ++++++++++++++++++++++++++++++++++++++--------------
 7 files changed, 98 insertions(+), 41 deletions(-)

             reply	other threads:[~2009-11-27 12:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-27 12:25 Kevin Wolf [this message]
2009-11-27 12:25 ` [Qemu-devel] [PATCH 1/4] Rename DriveInfo.onerror to on_write_error Kevin Wolf
2009-11-29 10:46   ` Gleb Natapov
2009-12-03 19:55     ` Anthony Liguori
2009-12-04  8:18       ` Kevin Wolf
2009-11-27 12:25 ` [Qemu-devel] [PATCH 2/4] Introduce rerror option for drives Kevin Wolf
2009-11-27 12:25 ` [Qemu-devel] [PATCH 3/4] ide: Implement rerror option Kevin Wolf
2009-11-27 12:25 ` [Qemu-devel] [PATCH 4/4] virtio-blk: " Kevin Wolf

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=1259324739-6805-1-git-send-email-kwolf@redhat.com \
    --to=kwolf@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).