block: Pass errp in blkconf_geometry
commit5ff5efb46c4526f111e14c2247609f1c56f0f8f3
authorFam Zheng <famz@redhat.com>
Tue, 12 Aug 2014 02:12:54 +0000 (12 10:12 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 26 Aug 2014 11:20:44 +0000 (26 13:20 +0200)
tree9c3a6652abe1500ea0f79818241c6a806ad508d7
parent2656eb7c599e306b95bad82b1372fc49ba3088f6
block: Pass errp in blkconf_geometry

This allows us to pass error information to caller.

Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/block/block.c
hw/block/virtio-blk.c
hw/ide/qdev.c
hw/scsi/scsi-disk.c
include/hw/block/block.h