Kevin Wolf 39829a01ae block: Allow error return in BlockDevOps.change_media_cb()
Some devices allow a media change between read-only and read-write
media. They need to adapt the permissions in their .change_media_cb()
implementation, which can fail. So add an Error parameter to the
function.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
2017-02-28 20:40:36 +01:00
..
2017-02-28 09:03:39 +03:00
2016-10-04 13:28:07 +01:00
2017-01-27 18:08:00 +01:00
2017-02-28 16:22:41 +00:00
2017-01-31 10:10:13 +11:00
2017-01-20 11:15:06 +00:00
2017-02-02 16:08:28 +00:00
2016-05-18 15:04:27 +03:00
2017-02-06 12:33:21 +11:00
2017-01-27 18:07:59 +01:00
2017-02-24 10:37:21 +00:00
2017-02-02 18:48:06 +00:00
2017-02-24 10:13:57 +00:00
2016-01-29 15:07:25 +00:00
2017-02-28 12:08:16 +00:00
2016-10-28 18:17:24 +03:00
2016-09-15 15:32:22 +03:00
2017-02-23 16:18:03 +01:00
2017-02-03 12:31:40 +00:00