qemu/hw/block
Kevin Wolf 98522f63f4 block: Add errp to bdrv_new()
This patch adds an errp parameter to bdrv_new() and updates all its
callers. The next patches will make use of this in order to check for
duplicate IDs. Most of the callers know that their ID is fine, so they
can simply assert that there is no error.

Behaviour doesn't change with this patch yet as bdrv_new() doesn't
actually assign errors to errp.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2014-04-22 12:00:20 +02:00
..
dataplane dataplane: replace iothread object_add() with embedded instance 2014-04-04 20:48:13 +02:00
block.c
cdrom.c
ecc.c
fdc.c
hd-geometry.c
m25p80.c block/m25p80: Remove FROM_SSI_SLAVE() usages 2014-03-12 20:13:02 +01:00
Makefile.objs
nand.c
nvme.c nvme: Permit zero-length block devices 2014-03-31 22:35:03 +02:00
nvme.h
onenand.c
pflash_cfi01.c
pflash_cfi02.c
tc58128.c
virtio-blk.c
xen_blkif.h
xen_disk.c block: Add errp to bdrv_new() 2014-04-22 12:00:20 +02:00