Re: [Qemu-devel] [PATCH] block-backend: Set werror/rerror defaults in blk_new()

2018-09-28 Thread Eric Blake
On 9/28/18 4:18 AM, Kevin Wolf wrote: Currently, the default values for werror and rerror have to be set explicitly with blk_set_on_error() by the callers of blk_new(). The only caller actually doing this is blockdev_init(), which is called for BlockBackends created using -drive. In particular,

[Qemu-devel] [PATCH] block-backend: Set werror/rerror defaults in blk_new()

2018-09-28 Thread Kevin Wolf
Currently, the default values for werror and rerror have to be set explicitly with blk_set_on_error() by the callers of blk_new(). The only caller actually doing this is blockdev_init(), which is called for BlockBackends created using -drive. In particular, anonymous BlockBackends created with -de