v17->v18: 1) split into small patches, by each image format. 2) opt->str store digit, without suffixes in QemuOpt
Dong Xu Wang (25): qemu-option: add def_value_str in QemuOptDesc struct and rewrite qemu_opts_print qemu-option: avoid duplication of default value in QemuOpts qemu-option: create four QemuOptsList related functions qemu-option: create some QemuOpts functons qemu-option: opt->str store digit, without suffixes add interface to block block: add QemuOpts support for cow.c block: add QemuOpts support for gluster.c block: add QemuOpts support for iscsi.c block: add QemuOpts support for qcow.c block: add QemuOpts support for qcow2.c block: add QemuOpts support for qed.c block: add QemuOpts support for raw-posix.c block: add QemuOpts support for raw-win32.c block: add QemuOpts support for raw.c block: add QemuOpts support for rbd.c block: add QemuOpts support for sheepdog.c block: add QemuOpts support for ssh.c block: add QemuOpts support for vdi.c block: add QemuOpts support for vmdk.c block: add QemuOpts support for vpc.c block: add QemuOpts support for block.c block: clean temp code and use QemuOpts in block qapi: query-command-line-options outputs def_value_str qemu-option: remove QEMUOptionParameter related functions and struct block.c | 100 ++++---- block/cow.c | 54 ++--- block/gluster.c | 37 ++- block/iscsi.c | 31 ++- block/qcow.c | 69 +++--- block/qcow2.c | 213 +++++++++-------- block/qed.c | 112 ++++----- block/qed.h | 3 +- block/raw-posix.c | 50 ++-- block/raw-win32.c | 31 +-- block/raw.c | 30 +-- block/rbd.c | 61 +++-- block/sheepdog.c | 80 ++++--- block/ssh.c | 29 ++- block/vdi.c | 72 +++--- block/vmdk.c | 136 +++++------ block/vpc.c | 68 +++--- block/vvfat.c | 11 +- include/block/block.h | 5 +- include/block/block_int.h | 5 +- include/qemu/option.h | 56 ++--- qapi-schema.json | 8 +- qemu-img.c | 75 +++--- qmp-commands.hx | 2 + util/qemu-config.c | 4 + util/qemu-option.c | 576 +++++++++++++++++++++------------------------- 26 files changed, 928 insertions(+), 990 deletions(-) -- 1.7.11.7