qemu-devel
[Top][All Lists]
Advanced

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

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


From: Kevin Wolf
Subject: [Qemu-devel] [PATCH v2 0/9] bdrv_open() cleanups, part 1
Date: Wed, 25 Jun 2014 16:35:50 +0200

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(-)

-- 
1.8.3.1




reply via email to

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