On 21.02.2017 15:58, Kevin Wolf wrote:
> By default, don't allow another writer for block devices that are
> attached to a guest device. For the cases where this setup is intended
> (e.g. using a cluster filesystem on the disk), the new option can be
> used to allow it.
> 
> This change affects only devices using DEFINE_BLOCK_PROPERTIES().
> Devices directly using DEFINE_PROP_DRIVE() still accept writers
> unconditionally.
> 
> Signed-off-by: Kevin Wolf <kw...@redhat.com>
> ---
>  hw/block/block.c           |  6 ++++--
>  include/hw/block/block.h   |  4 +++-
>  tests/qemu-iotests/172.out | 53 
> ++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 60 insertions(+), 3 deletions(-)

Reviewed-by: Max Reitz <mre...@redhat.com>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to