bdrv_img_create: Fix segfault
Block drivers that don't support creating images don't have a size option. Fail
gracefully instead of segfaulting when trying to access the option's value.
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Loading
Please register or sign in to comment