qemu-e2k/block
Stefan Hajnoczi fd7f8c6537 block: use Error mechanism instead of -errno for block_job_create()
The block job API uses -errno return values internally and we convert
these to Error in the QMP functions.  This is ugly because the Error
should be created at the point where we still have all the relevant
information.  More importantly, it is hard to add new error cases to
this case since we quickly run out of -errno values without losing
information.

Go ahead and use Error directly and don't convert later.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2012-04-27 11:44:50 -03:00
..
blkdebug.c
blkverify.c
bochs.c
cloop.c
cow.c block: Fix spelling in comment (ineffcient -> inefficient) 2012-04-19 15:48:52 +02:00
curl.c aio: remove process_queue callback and qemu_aio_process_queue 2012-04-19 16:37:53 +02:00
dmg.c
iscsi.c aio: remove process_queue callback and qemu_aio_process_queue 2012-04-19 16:37:53 +02:00
nbd.c Merge remote-tracking branch 'kwolf/for-anthony' into staging 2012-04-23 14:27:04 -05:00
parallels.c
qcow2-cache.c
qcow2-cluster.c qcow2: Zero write support 2012-04-20 15:57:30 +02:00
qcow2-refcount.c qcow2: Support reading zero clusters 2012-04-20 15:57:29 +02:00
qcow2-snapshot.c qcow2: Save disk size in snapshot header 2012-04-20 15:57:27 +02:00
qcow2.c qcow2: Zero write support 2012-04-20 15:57:30 +02:00
qcow2.h qcow2: Zero write support 2012-04-20 15:57:30 +02:00
qcow.c
qed-check.c
qed-cluster.c
qed-gencb.c
qed-l2-cache.c
qed-table.c
qed.c
qed.h
raw-posix-aio.h
raw-posix.c
raw-win32.c
raw.c
rbd.c aio: remove process_queue callback and qemu_aio_process_queue 2012-04-19 16:37:53 +02:00
sheepdog.c aio: remove process_queue callback and qemu_aio_process_queue 2012-04-19 16:37:53 +02:00
stream.c block: use Error mechanism instead of -errno for block_job_create() 2012-04-27 11:44:50 -03:00
vdi.c
vmdk.c
vpc.c
vvfat.c