summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorKevin Wolf2013-03-18 16:20:27 +0100
committerKevin Wolf2013-03-22 17:51:32 +0100
commitf5866fa438bff586f215c137dc71edb4e0770536 (patch)
tree693536fcf30715668dd6f4962ea3a839ad018e1e /include/block
parentblock: Rename variable to avoid shadowing (diff)
downloadqemu-f5866fa438bff586f215c137dc71edb4e0770536.tar.gz
qemu-f5866fa438bff586f215c137dc71edb4e0770536.tar.xz
qemu-f5866fa438bff586f215c137dc71edb4e0770536.zip
block: Make find_image_format safe with NULL filename
In order to achieve this, the .bdrv_probe callbacks of all drivers must cope with this. The DMG driver is the only one that bases its decision on the filename and it needs to be changed. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions