]> git.proxmox.com Git - mirror_qemu.git/commit
block: Parse 'detect-zeroes' in bdrv_open_common()
authorKevin Wolf <kwolf@redhat.com>
Mon, 12 Sep 2016 19:00:41 +0000 (21:00 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 29 Sep 2016 12:13:39 +0000 (14:13 +0200)
commit692e01a27ccde4120f1371227d4011f668d67a76
tree32ef526625045cb846dfd87d29bec729d266a9b3
parent0a4279d97c501254f6164b8abcd89055a11e2dc5
block: Parse 'detect-zeroes' in bdrv_open_common()

Amongst others, this means that you can now use the 'detect-zeroes'
option for non-top-level nodes in blockdev-add, like the QAPI schema
promises.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block.c
blockdev.c