[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/3] Add -blockdev command line option
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [PATCH v2 0/3] Add -blockdev command line option |
Date: |
Fri, 23 Sep 2016 18:06:18 +0200 |
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
- [Qemu-devel] [PATCH v2 0/3] Add -blockdev command line option,
Kevin Wolf <=