qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 06/14] qemu-img: Use blk_new_open() in img_re


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v3 06/14] qemu-img: Use blk_new_open() in img_rebase()
Date: Mon, 26 Jan 2015 20:05:48 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 01/26/2015 08:00 AM, Max Reitz wrote:
> Signed-off-by: Max Reitz <address@hidden>
> ---
>  qemu-img.c | 57 ++++++++++++++++++++++++---------------------------------
>  1 file changed, 24 insertions(+), 33 deletions(-)
> 

> -
>      /* For safe rebasing we need to compare old and new backing file */
>      if (!unsafe) {
>          char backing_name[PATH_MAX];
> +        QDict *options = NULL;
> +
> +        if (!unsafe && bs->backing_format[0] != '\0') {

Useless conditional ('!unsafe' is always true here).

With that fixed,
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]