Max Reitz d1402b5026 block: Add Error parameter to bdrv_amend_options
Looking at the qcow2 code that is riddled with error_report() calls,
this is really how it should have been from the start.

Along the way, turn the target_version/current_version comparisons at
the beginning of qcow2_downgrade() into assertions (the caller has to
make sure these conditions are met), and rephrase the error message on
using compat=1.1 to get refcount widths other than 16 bits.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20180509210023.20283-3-mreitz@redhat.com
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
2018-06-11 16:18:45 +02:00
..
2018-03-13 17:05:00 -04:00
2018-06-01 14:41:47 +01:00
2018-06-01 14:41:48 +01:00
2018-05-15 16:15:21 +02:00
2018-05-31 04:16:06 +03:00
2018-05-16 13:37:47 -04:00
2018-05-15 16:11:41 +02:00
2018-02-09 05:05:11 +01:00
2018-05-31 04:16:06 +03:00
2018-06-01 14:41:47 +01:00
2018-05-15 16:11:41 +02:00
2018-06-05 10:15:12 -04:00
2018-05-29 22:19:57 +02:00
2018-06-04 10:15:16 +01:00
2018-05-15 16:11:41 +02:00