Skip to content

Add -blockdev command line option

Kevin Wolf qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesIn review
  2. v23 patches 5 repliesSuperseded
  3. v13 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- Some more documentation improvements [Max]

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3block: Add '-blockdev' command line optionblockdev.c include/sysemu/sysemu.h qemu-options.hx +1 more+78 -00 replies
2/3doc: Document generic -blockdev optionsqemu-options.hx+73 -290 replies
3/3doc: Document driver-specific -blockdev optionsqemu-options.hx+114 -11 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric BlakeMax Reitz
SeriesR-b
1/3R-b R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/3] Add -blockdev command line option

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".

v3:
- Some more documentation improvements [Max]

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         | 227 +++++++++++++++++++++++++++++++++++++++++-------
 vl.c                    |  53 +++++++++++
 4 files changed, 264 insertions(+), 29 deletions(-)
Signature · 1 line
1.8.3.1