Kevin Wolf b85114f8cf 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>
2016-09-29 14:13:39 +02:00
..
2016-01-20 13:36:23 +01:00
2016-09-15 15:32:22 +03:00
2016-09-29 14:13:13 +02:00
2016-09-23 13:10:43 +01:00
2016-09-23 11:42:52 +08:00
2016-09-13 11:00:56 +01:00
2016-08-03 18:44:56 +02:00
2016-08-15 15:52:29 +02:00
2016-07-06 10:52:04 +02:00
2016-09-13 11:00:55 +01:00
2016-09-15 15:32:22 +03:00
2016-06-07 18:19:24 +03:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-09-15 15:32:22 +03:00
2016-09-23 11:42:52 +08:00
2016-09-23 11:42:52 +08:00
2016-09-23 11:42:52 +08:00
2016-09-05 19:06:48 +02:00
2016-09-23 11:42:52 +08:00
2016-01-20 13:36:23 +01:00