From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnSzl-00079e-KC for qemu-devel@nongnu.org; Fri, 23 Sep 2016 12:06:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnSzj-0006Mt-JS for qemu-devel@nongnu.org; Fri, 23 Sep 2016 12:06:36 -0400 From: Kevin Wolf Date: Fri, 23 Sep 2016 18:06:18 +0200 Message-Id: <1474646781-18951-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/3] Add -blockdev command line option 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 adds an option that is directly mapped to the blockdev-add QMP command. It works more or less like -drive, except that it doesn't create a BlockBackend (creating just a BDS without a BB is impossible with -drive) and doesn't support legacy options. Depends on Dan's "[PATCH v13 0/6] QAPI/QOM work for non-scalar object properties". v2: - Fix uninitialised use of options variable [Eric] - Use qapi_free_BlockdevOptions() instead of dealloc visitor [Eric] - Improved documentation to mention dotted syntax, explain use of -blockdev with -device, include examples and default values [Eric] Kevin Wolf (3): block: Add '-blockdev' command line option doc: Document generic -blockdev options doc: Document driver-specific -blockdev options blockdev.c | 12 +++ include/sysemu/sysemu.h | 1 + qemu-options.hx | 212 +++++++++++++++++++++++++++++++++++++++++------- vl.c | 53 ++++++++++++ 4 files changed, 249 insertions(+), 29 deletions(-) -- 1.8.3.1