From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5FiB-0001t6-1E for qemu-devel@nongnu.org; Mon, 20 Jan 2014 09:20:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5Fi5-0006Sn-2K for qemu-devel@nongnu.org; Mon, 20 Jan 2014 09:20:22 -0500 Received: from victor.provo.novell.com ([137.65.250.26]:42930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5Fi4-0006SF-Pf for qemu-devel@nongnu.org; Mon, 20 Jan 2014 09:20:16 -0500 From: Chunyan Liu Date: Mon, 20 Jan 2014 22:19:43 +0800 Message-Id: <1390227608-7225-1-git-send-email-cyliu@suse.com> Subject: [Qemu-devel] [v19 00/25] replace QEMUOptionParameter with QemuOpts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, stefanha@redhat.com, kwolf@redhat.com Cc: Chunyan Liu This patch series is to replace QEMUOptionParameter with QemuOpts, so that only one Qemu Option structure is kept in QEMU code. This version is based on Dong Xu's previous patches, to move the work forward. https://lists.gnu.org/archive/html/qemu-devel/2013-08/msg01695.html Chunyan Liu (25): add def_value_str to QemuOptDesc qapi: output def_value_str when query command line options improve some functions in qemu-option.c add some QemuOpts functions for replace work change block layer to support both QemuOpts and QEMUOptionParameter cow.c: replace QEMUOptionParameter with QemuOpts gluster.c: replace QEMUOptionParameter with QemuOpts iscsi.c: replace QEMUOptionParamter with QemuOpts qcow.c: replace QEMUOptionParamter with QemuOpts qcow2.c: replace QEMUOptionParameter with QemuOpts in create qcow2.c: replace QEMUOptionParameter with QemuOpts in amend options qed.c: replace QEMUOptionParameter with QemuOpts raw-posix.c: replace QEMUOptionParameter with QemuOpts raw-win32.c: replace QEMUOptionParameter with QemuOpts rbd.c: replace QEMUOptionParameter with QemuOpts sheepdog.c: replace QEMUOptionParameter with QemuOpts ssh.c: replace QEMUOptionParameter with QemuOpts vdi.c: replace QEMUOptionParameter with QemuOpts vmdk.c: replace QEMUOptionParameter with QemuOpts vpc.c: replace QEMUOptionParameter with QemuOpts raw_bsd.c: replace QEMUOptionParameter with QemuOpts vhdx.c: replace QEMUOptionParameter with QemuOpts vvfat.c: replace QEMUOptionParameter with QemuOpts cleanup QEMUOptionParameter change back to original name from bdrv_create2 to bdrv_create block.c | 232 ++++++++++---------- block/cow.c | 44 ++-- block/gluster.c | 42 ++-- block/iscsi.c | 61 +++--- block/qcow.c | 59 +++--- block/qcow2.c | 260 +++++++++++------------ block/qed.c | 89 ++++---- block/qed.h | 3 +- block/raw-posix.c | 50 ++--- block/raw-win32.c | 31 ++-- block/raw_bsd.c | 27 ++- block/rbd.c | 63 +++--- block/sheepdog.c | 101 ++++----- block/ssh.c | 31 ++-- block/vdi.c | 69 +++--- block/vhdx.c | 93 ++++---- block/vhdx.h | 1 + block/vmdk.c | 109 +++++----- block/vpc.c | 52 +++-- block/vvfat.c | 10 +- include/block/block.h | 8 +- include/block/block_int.h | 7 +- include/qemu/option.h | 45 +--- qapi-schema.json | 8 +- qemu-img.c | 136 ++++++------ qmp-commands.hx | 2 + util/qemu-config.c | 4 + util/qemu-option.c | 537 ++++++++++++++++++++------------------------- 28 files changed, 1038 insertions(+), 1136 deletions(-)