diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2011-06-01 14:03:31 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2011-06-08 11:56:40 +0200 |
| commit | d220894e025ea85d604a2cdc1eef541ed516728e (patch) | |
| tree | 2e79df2e4e08ca540f9b8ebeffb77e1fbe632be0 /qemu-config.c | |
| parent | 80fa3341a70151d250be92ae900e3c1580817540 (diff) | |
| download | focaccia-qemu-d220894e025ea85d604a2cdc1eef541ed516728e.tar.gz focaccia-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 'qemu-config.c')
0 files changed, 0 insertions, 0 deletions