Skip to content

block: Add driver specific options

Kevin Wolf qemu-devel 2 versions – Applied

Status from this message: Thanks, applied to my block tree:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 1 replyApplied
  2. v113 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Fixed use after free for serial number
- Fixed id=... handling
- Fixed if=virtio overwriting opts

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/8block: Add options QDict to .bdrv_open()block.c block/bochs.c block/cloop.c +11 more+17 -170 replies
2/8block: Add options QDict to bdrv_open() prototypeblock.c block/blkverify.c block/qcow2.c +9 more+54 -280 replies
3/8Add qdict_clone_shallow()include/qapi/qmp/qdict.h qobject/qdict.c+24 -00 replies
4/8block: Add options QDict to bdrv_open_common()block.c+26 -60 replies
5/8qemu-option: Add qemu_opts_absorb_qdict()include/qemu/option.h util/qemu-option.c+35 -00 replies
6/8blockdev: Keep a copy of DriveInfo.serialblockdev.c include/sysemu/blockdev.h+5 -20 replies
7/8block: Support driver specific options in drive_init()blockdev.c+59 -100 replies
8/8qcow2: Allow lazy refcounts to be enabled on the command lineblock/qcow2-cluster.c block/qcow2.c block/qcow2.h+39 -10 replies

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchEric BlakeStefan Hajnoczi
1/8R-b R-b
2/8R-b R-b
3/8R-b R-b
4/8R-b R-b
5/8R-b R-b
6/8
7/8R-b R-b
8/8R-b R-b

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/8] block: Add driver specific options

v2:
- Fixed use after free for serial number
- Fixed id=... handling
- Fixed if=virtio overwriting opts

Kevin Wolf (8):
block: Add options QDict to .bdrv_open()
block: Add options QDict to bdrv_open() prototype Add qdict_clone_shallow()
block: Add options QDict to bdrv_open_common()
qemu-option: Add qemu_opts_absorb_qdict()
blockdev: Keep a copy of DriveInfo.serial
block: Support driver specific options in drive_init()
qcow2: Allow lazy refcounts to be enabled on the command line

 block.c                   | 81 +++++++++++++++++++++++++++++++++++-----------
 block/blkverify.c         |  2 +-
 block/bochs.c             |  2 +-
 block/cloop.c             |  2 +-
 block/cow.c               |  2 +-
 block/dmg.c               |  2 +-
 block/parallels.c         |  2 +-
 block/qcow.c              |  2 +-
 block/qcow2-cluster.c     |  2 +-
 block/qcow2.c             | 43 +++++++++++++++++++++++--
 block/qcow2.h             |  1 +
 block/qed.c               |  4 +--
 block/raw.c               |  2 +-
 block/vdi.c               |  2 +-
 block/vmdk.c              |  4 +--
 block/vpc.c               |  2 +-
 block/vvfat.c             |  2 +-
 blockdev.c                | 82 +++++++++++++++++++++++++++++++++++++++--------
 hw/xen_disk.c             |  2 +-
 include/block/block.h     |  4 +--
 include/block/block_int.h |  3 +-
 include/qapi/qmp/qdict.h  |  2 ++
 include/qemu/option.h     |  1 +
 include/sysemu/blockdev.h |  2 +-
 qemu-img.c                |  6 ++--
 qemu-io.c                 |  2 +-
 qemu-nbd.c                |  2 +-
 qobject/qdict.c           | 22 +++++++++++++
 util/qemu-option.c        | 34 ++++++++++++++++++++
 29 files changed, 257 insertions(+), 62 deletions(-)
Signature · 1 line
1.8.1.4