block: push bdrv_change_backing_file error checking up from drivers
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Apr 2012 12:01:01 +0000 (14:01 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 10 May 2012 08:32:11 +0000 (10:32 +0200)
commit5f3777945d22248d805fb7c134e206c2d943b77b
treea150d2fad9a831d7497b152cc6f88691bc4081d6
parente86fe18ac945a121a548347c48f2397d7a2e5be5
block: push bdrv_change_backing_file error checking up from drivers

This check applies to all drivers, but QED lacks it.

Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block/qcow2.c