This patch series does the QemuOptionParameter -> QemuOpts migration. The idea is to collect all the required Reviewed-by and squash the patches changing the block layer + block drivers (patches [06..25]) in a single patch so we don't break anything and keep the tree's bisectability (just in case we realize this patch series must be integrated).
In response to Chunyan's patchset, this patch series was first intended to describe my thoughts on how this migration should be performed. The patches 2 and 3 can be squashed later on, I just kept them split to keep Chunyan's authorship. -- Dorileo Chunyan Liu (3): qapi: output def_value_str when query command line options add def_value_str to QemuOptDesc QemuOpt: introduce qemu_opts_append() Leandro Dorileo (23): QemuOpt: improve default value QemuOpt: add qemu_opt_print_help() block: migrate block later QemuOptionParameter cow: migrate cow driver QemuOptionParameter usage gluster: migrate gluster driver QemuOptionParameter usage iscsi: migrate iscsi driver QemuOptionParameter usage nfs: migrate nfs driver QemuOptionParameter usage qcow: migrate qcow driver QemuOptionParameter usage qcow2: migrate qcow2 driver QemuOptionParameter usage qed: migrate qed driver QemuOptionParameter usage raw-posix: migrate raw-posix driver QemuOptionParameter usage raw-win32: migrate cow driver QemuOptionParameter usage raw_bsd: migrate raw_bsd driver QemuOptionParameter usage rbd: migrate rbd driver QemuOptionParameter usage sheepdog: migrate sheepdog driver QemuOptionParameter usage ssh: migrate ssh driver QemuOptionParameter usage vdi: migrate vdi driver QemuOptionParameter usage vhdx: migrate vhdx driver QemuOptionParameter usage vmdk: migrate vmdk driver QemuOptionParameter usage vpc: migrate vpc driver QemuOptionParameter usage vvfat: migrate vvfat driver QemuOptionParameter usage QemuOpt: get rid of QEMUOptionParameter qemu-img: migrate QemuOptionParameter usage block.c | 133 +++++++++++++---------- block/cow.c | 44 ++++---- block/gluster.c | 68 ++++++------ block/iscsi.c | 32 +++--- block/nfs.c | 11 +- block/qcow.c | 59 +++++------ block/qcow2.c | 263 ++++++++++++++++++++++------------------------ block/qed.c | 79 ++++++-------- block/raw-posix.c | 50 ++++----- block/raw-win32.c | 29 +++-- block/raw_bsd.c | 21 ++-- block/rbd.c | 60 +++++------ block/sheepdog.c | 104 +++++++++--------- block/ssh.c | 29 +++-- block/vdi.c | 73 ++++++------- block/vhdx.c | 88 ++++++++-------- block/vmdk.c | 105 +++++++++--------- block/vpc.c | 54 +++++----- block/vvfat.c | 26 ++++- include/block/block.h | 7 +- include/block/block_int.h | 8 +- include/qemu/option.h | 23 +++- qapi-schema.json | 6 +- qemu-img.c | 166 ++++++++++++++++------------- qmp-commands.hx | 2 + util/qemu-config.c | 4 + util/qemu-option.c | 174 +++++++++++++++++++++++++----- 27 files changed, 952 insertions(+), 766 deletions(-) -- 1.9.0