diff options
author | Kevin Wolf | 2011-06-01 14:03:31 +0200 |
---|---|---|
committer | Kevin Wolf | 2011-06-08 11:56:40 +0200 |
commit | d220894e025ea85d604a2cdc1eef541ed516728e (patch) | |
tree | 2e79df2e4e08ca540f9b8ebeffb77e1fbe632be0 /target-sparc/helper.c | |
parent | qcow2: Fix memory leaks in error cases (diff) | |
download | qemu-d220894e025ea85d604a2cdc1eef541ed516728e.tar.gz qemu-d220894e025ea85d604a2cdc1eef541ed516728e.tar.xz qemu-d220894e025ea85d604a2cdc1eef541ed516728e.zip |
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>
Diffstat (limited to 'target-sparc/helper.c')
0 files changed, 0 insertions, 0 deletions