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


Reply via email to