qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [PATCH 5/7] block: Use 'detect-zeroes' option for 'bloc


From: Eric Blake
Subject: Re: [Qemu-block] [PATCH 5/7] block: Use 'detect-zeroes' option for 'blockdev-change-medium'
Date: Wed, 21 Sep 2016 14:19:02 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

On 09/20/2016 04:08 PM, Kevin Wolf wrote:
> Instead of modifying the new BDS after it has been opened, use the newly
> supported 'detect-zeroes' option in bdrv_open_common() so that all
> requirements are checked (detect-zeroes=unmap requires discard=unmap).
> 
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
>  block/block-backend.c          | 9 ++++-----
>  blockdev.c                     | 9 ++++++---
>  include/sysemu/block-backend.h | 2 +-
>  3 files changed, 11 insertions(+), 9 deletions(-)
> 

Reviewed-by: Eric Blake <address@hidden>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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