]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block: bdrv_img_create(): add Error ** argument
authorLuiz Capitulino <lcapitulino@redhat.com>
Fri, 30 Nov 2012 12:52:04 +0000 (10:52 -0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 11 Dec 2012 10:05:10 +0000 (11:05 +0100)
commit71c79813d83b5b45ba934cf995436063da458f66
tree65aa148ff433e1f7f122e451ef2f034aebce311d
parent3c42ea66888f149d72d600bab63624b2d849e4bf
block: bdrv_img_create(): add Error ** argument

This commit adds an Error ** argument to bdrv_img_create() and set it
appropriately on error.

Callers of bdrv_img_create() pass NULL for the new argument and still
rely on bdrv_img_create()'s return value. Next commits will change
callers to use the Error object instead.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block.h
blockdev.c
qemu-img.c