diff options
| author | Kevin Wolf | 2016-09-12 19:08:31 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2016-09-29 14:13:39 +0200 |
| commit | b85114f8cfbede8b153db68875973ef0790bf296 (patch) | |
| tree | f145eb5c7d45e3e2ad8eefb5c06ac5bf72d20883 /tests | |
| parent | block: Parse 'detect-zeroes' in bdrv_open_common() (diff) | |
| download | qemu-b85114f8cfbede8b153db68875973ef0790bf296.tar.gz qemu-b85114f8cfbede8b153db68875973ef0790bf296.tar.xz qemu-b85114f8cfbede8b153db68875973ef0790bf296.zip | |
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 'tests')
0 files changed, 0 insertions, 0 deletions
