qemu-e2k/block
Paolo Bonzini f2917853f7 iscsi: correctly propagate errors in iscsi_open
Before:
    $ ./qemu-io-old
    qemu-io-old> open -r -o file.driver=iscsi,file.filename=foo
    Failed to parse URL : foo
    qemu-io-old: can't open device (null): Could not open 'foo': Invalid argument

After:
    $ ./qemu-io
    qemu-io> open -r -o file.driver=iscsi,file.filename=foo
    qemu-io: can't open device (null): Failed to parse URL : foo

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-02-21 21:02:23 +01:00
..
backup.c block: Switch BdrvTrackedRequest to byte granularity 2014-01-24 17:40:02 +01:00
blkdebug.c block: Remove bdrv_open_image()'s force_raw option 2014-02-21 21:02:22 +01:00
blkverify.c block: Remove bdrv_open_image()'s force_raw option 2014-02-21 21:02:22 +01:00
bochs.c
cloop.c
commit.c commit: Remove unused check 2013-12-20 16:26:16 +01:00
cow.c block: Make bdrv_file_open() static 2014-02-21 21:02:22 +01:00
curl.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
dmg.c
gluster.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
iscsi.c iscsi: correctly propagate errors in iscsi_open 2014-02-21 21:02:23 +01:00
linux-aio.c
Makefile.objs block: add native support for NFS 2014-02-09 09:12:38 +01:00
mirror.c block: mirror - use local_err to avoid NULL errp 2014-02-14 18:05:39 +01:00
nbd-client.c
nbd-client.h
nbd.c nbd: correctly propagate errors 2014-02-21 21:02:22 +01:00
nfs.c block: add native support for NFS 2014-02-09 09:12:38 +01:00
parallels.c
qapi.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
qcow2-cache.c
qcow2-cluster.c qcow2: Set zero flag for discarded clusters 2014-02-21 21:02:21 +01:00
qcow2-refcount.c qcow2: fix offset overflow in qcow2_alloc_clusters_at() 2014-02-09 09:12:39 +01:00
qcow2-snapshot.c block: Don't throw away errno via error_setg 2014-02-14 18:05:38 +01:00
qcow2.c block: Make bdrv_file_open() static 2014-02-21 21:02:22 +01:00
qcow2.h qcow2: remove n_start and n_end of qcow2_alloc_cluster_offset() 2014-02-09 09:12:39 +01:00
qcow.c block: Make bdrv_file_open() static 2014-02-21 21:02:22 +01:00
qed-check.c
qed-cluster.c
qed-gencb.c
qed-l2-cache.c
qed-table.c
qed.c block: Make bdrv_file_open() static 2014-02-21 21:02:22 +01:00
qed.h
raw_bsd.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
raw-aio.h
raw-posix.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
raw-win32.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
rbd.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
sheepdog.c block: Make bdrv_file_open() static 2014-02-21 21:02:22 +01:00
snapshot.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
ssh.c
stream.c block: Update BlockLimits when they might have changed 2014-01-24 17:40:01 +01:00
vdi.c
vhdx-endian.c
vhdx-log.c block/vhdx: Error checking fixes 2014-01-31 22:05:03 +01:00
vhdx.c block: Make bdrv_file_open() static 2014-02-21 21:02:22 +01:00
vhdx.h
vmdk.c block: Make bdrv_file_open() static 2014-02-21 21:02:22 +01:00
vpc.c
vvfat.c block: Add reference parameter to bdrv_open() 2014-02-21 21:02:22 +01:00
win32-aio.c