qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/3] Add -blockdev command line option
@ 2016-09-26 15:27 Kevin Wolf
  2016-09-26 15:27 ` [Qemu-devel] [PATCH v3 1/3] block: Add '-blockdev' " Kevin Wolf
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Kevin Wolf @ 2016-09-26 15:27 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, mreitz, eblake, qemu-devel

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(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-09-27 15:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-26 15:27 [Qemu-devel] [PATCH v3 0/3] Add -blockdev command line option Kevin Wolf
2016-09-26 15:27 ` [Qemu-devel] [PATCH v3 1/3] block: Add '-blockdev' " Kevin Wolf
2016-09-26 15:27 ` [Qemu-devel] [PATCH v3 2/3] doc: Document generic -blockdev options Kevin Wolf
2016-09-26 15:27 ` [Qemu-devel] [PATCH v3 3/3] doc: Document driver-specific " Kevin Wolf
2016-09-27 15:21   ` Eric Blake
2016-09-26 15:40 ` [Qemu-devel] [PATCH v3 0/3] Add -blockdev command line option no-reply
2016-09-26 16:15 ` Max Reitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).