[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
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v3 08/14] qemu-nbd: Use blk_new_open() in main(), (continued)
- [Qemu-devel] [PATCH v3 08/14] qemu-nbd: Use blk_new_open() in main(), Max Reitz, 2015/01/26
- [Qemu-devel] [PATCH v3 04/14] block/xen: Use blk_new_open() in blk_connect(), Max Reitz, 2015/01/26
- [Qemu-devel] [PATCH v3 05/14] qemu-img: Use blk_new_open() in img_open(), Max Reitz, 2015/01/26
- [Qemu-devel] [PATCH v3 03/14] blockdev: Use blk_new_open() in blockdev_init(), Max Reitz, 2015/01/26
- [Qemu-devel] [PATCH v3 06/14] qemu-img: Use blk_new_open() in img_rebase(), Max Reitz, 2015/01/26
- Re: [Qemu-devel] [PATCH v3 06/14] qemu-img: Use blk_new_open() in img_rebase(),
Eric Blake <=
- [Qemu-devel] [PATCH v3 09/14] qemu-io: Use blk_new_open() in openfile(), Max Reitz, 2015/01/26
- [Qemu-devel] [PATCH v3 07/14] qemu-img: Use BlockBackend as far as possible, Max Reitz, 2015/01/26
- [Qemu-devel] [PATCH v3 10/14] qemu-io: Remove "growable" option, Max Reitz, 2015/01/26