qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 0/9] bdrv_open() cleanups, part 1


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH v2 0/9] bdrv_open() cleanups, part 1
Date: Thu, 26 Jun 2014 23:17:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 25.06.2014 16:35, Kevin Wolf wrote:
This is the first part of an attempt for disentangling bdrv_open(). At the end
of this series, bdrv_open() code is somewhat easier to read, but the real
changes (including some bug fixes and changes of behaviour) haven't happened
yet.

Just sending out the first part now to get this merged early and avoid
conflicts.

v2:
- Rebased on current git master
- Patch 1: Removed redundant if condition [Benoît]
            Replaced redundant error check with assertion [Eric]
- Patch 2: Fixed leak in error path [Benoît]

Kevin Wolf (9):
   block: Create bdrv_fill_options()
   block: Move bdrv_fill_options() call to bdrv_open()
   block: Move json: parsing to bdrv_fill_options()
   block: Always pass driver name through options QDict
   block: Use common driver selection code for bdrv_open_file()
   block: Inline bdrv_file_open()
   block: Remove second bdrv_open() recursion
   block: Catch backing files assigned to non-COW drivers
   block: Remove a special case for protocols

  block.c                    | 280 ++++++++++++++++++++++-----------------------
  block/cow.c                |   1 +
  block/qcow.c               |   1 +
  block/qcow2.c              |   1 +
  block/qed.c                |   1 +
  block/vmdk.c               |   1 +
  include/block/block_int.h  |   3 +
  tests/qemu-iotests/051     |   6 +
  tests/qemu-iotests/051.out |  14 ++-
  9 files changed, 164 insertions(+), 144 deletions(-)

With this series, iotests 040, 041 and 067 fail for me. I attached the result.

Max

Attachment: log
Description: Text document


reply via email to

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