On 21.02.2017 15:58, Kevin Wolf wrote: > 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 <kw...@redhat.com> > --- > block/block-backend.c | 20 +++++++++++++++----- > blockdev.c | 19 +++++++++++++++---- > hw/block/fdc.c | 2 +- > hw/ide/core.c | 2 +- > hw/scsi/scsi-disk.c | 2 +- > hw/sd/sd.c | 2 +- > include/block/block_int.h | 2 +- > include/sysemu/block-backend.h | 2 +- > 8 files changed, 36 insertions(+), 15 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature