qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Qemu-block] [PATCH 06/16] ahci: record ncq failures


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [Qemu-block] [PATCH 06/16] ahci: record ncq failures
Date: Tue, 30 Jun 2015 14:56:53 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Mon, Jun 29, 2015 at 11:47:32AM -0400, John Snow wrote:
> > (Perilously tangential side-note: what's the default error action if
> > you don't set rerror=stop or werror=stop? the ide code didn't make it
> > particularly clear to me if it was IGNORE or REPORT.)
> > 
> 
> Still curious about this bit, though.

blockdev.c:blockdev_init() is the function that instantiates a -drive:

  on_write_error = BLOCKDEV_ON_ERROR_ENOSPC;
      if ((buf = qemu_opt_get(opts, "werror")) != NULL) {
  ...
  on_read_error = BLOCKDEV_ON_ERROR_REPORT;
      if ((buf = qemu_opt_get(opts, "rerror")) != NULL) {

Attachment: pgpzJlD7uXYfj.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]