diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-09-12 19:08:31 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-09-29 14:13:39 +0200 |
commit | b85114f8cfbede8b153db68875973ef0790bf296 (patch) | |
tree | f145eb5c7d45e3e2ad8eefb5c06ac5bf72d20883 /include/block | |
parent | 692e01a27ccde4120f1371227d4011f668d67a76 (diff) |
block: Use 'detect-zeroes' option for 'blockdev-change-medium'
Instead of modifying the new BDS after it has been opened, use the newly
supported 'detect-zeroes' option in bdrv_open_common() so that all
requirements are checked (detect-zeroes=unmap requires discard=unmap).
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions