Received: from eggs.gnu.org ([2001:4830:134:3::10]:48735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmSHq-0006ui-Sl for qemu-devel@nongnu.org; Tue, 20 Sep 2016 17:09:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmSHo-0002vm-TB for qemu-devel@nongnu.org; Tue, 20 Sep 2016 17:09:05 -0400 From: Kevin Wolf Date: Tue, 20 Sep 2016 23:08:50 +0200 Message-Id: <1474405737-2092-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 0/7] block: Make more blockdev-add options work List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, mreitz@redhat.com, eblake@redhat.com, qemu-devel@nongnu.org This series moves a few more options from flags to the appropriate place. This doesn't only result in cleaner code, but also allows using these options in nested node definitions. After this series, bds_tree_init() is only a thin wrapper around bdrv_open() which sets the right defaults for cache modes and the BDRV_O_INACTIVE flag if necessary. Depends on my block branch, specifically Berto's 'read-only' patches. Kevin Wolf (7): block: Drop aio/cache consistency check from qmp_blockdev_add() block/qapi: Use separate options type for curl driver block/qapi: Move 'aio' option to file driver block: Parse 'detect-zeroes' in bdrv_open_common() block: Use 'detect-zeroes' option for 'blockdev-change-medium' block: Move 'discard' option to bdrv_open_common() block: Remove qemu_root_bds_opts block.c | 50 ++++++++++++++++++- block/block-backend.c | 9 ++-- block/raw-posix.c | 45 ++++++++++------- block/raw-win32.c | 50 +++++++++++++++++-- blockdev.c | 110 +++-------------------------------------- include/block/block.h | 1 + include/sysemu/block-backend.h | 2 +- qapi/block-core.json | 31 ++++++++---- tests/qemu-iotests/087 | 4 +- tests/qemu-iotests/087.out | 2 +- 10 files changed, 159 insertions(+), 145 deletions(-) -- 1.8.3.1