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) {
pgpnJQ6F_m__w.pgp
Description: PGP signature