qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [PATCH v2 4/6] block/qdev: Allow configuring rerror/wer


From: Max Reitz
Subject: Re: [Qemu-block] [PATCH v2 4/6] block/qdev: Allow configuring rerror/werror with qdev properties
Date: Sat, 2 Jul 2016 17:57:22 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

On 30.06.2016 16:13, Kevin Wolf wrote:
> The rerror/werror policies are implemented in the devices, so that's
> where they should be configured. In comparison to the old options in
> -drive, the qdev properties are only added to those devices that
> actually support them.
> 
> If the option isn't given (or "auto" is specified), the setting of the
> BlockBackend is used for compatibility with the old options. For block
> jobs, "auto" is the same as "enospc".
> 
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
>  block/block-backend.c        |  1 +
>  blockjob.c                   |  1 +
>  hw/block/block.c             | 12 ++++++++++++
>  hw/block/virtio-blk.c        |  1 +
>  hw/core/qdev-properties.c    | 13 +++++++++++++
>  hw/ide/qdev.c                |  1 +
>  hw/scsi/scsi-disk.c          |  1 +
>  include/hw/block/block.h     |  8 ++++++++
>  include/hw/qdev-properties.h |  4 ++++
>  qapi/block-core.json         |  4 +++-
>  10 files changed, 45 insertions(+), 1 deletion(-)

Reviewed-by: Max Reitz <address@hidden>

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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