projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7337aca
)
block/iscsi: set bs->bl.opt_transfer_length
author
Peter Lieven
<pl@kamp.de>
Wed, 27 Nov 2013 10:07:05 +0000
(11:07 +0100)
committer
Stefan Hajnoczi
<stefanha@redhat.com>
Thu, 5 Dec 2013 10:45:24 +0000
(11:45 +0100)
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/iscsi.c
patch
|
blob
|
history
diff --git
a/block/iscsi.c
b/block/iscsi.c
index 75d6b875e4426fe5eead694b366b2cf8b15964f5..829d444733040b7b3599e123847cd070ae58e0b3 100644
(file)
--- a/
block/iscsi.c
+++ b/
block/iscsi.c
@@
-1457,6
+1457,9
@@
static int iscsi_open(BlockDriverState *bs, QDict *options, int flags,
}
bs->bl.write_zeroes_alignment = sector_lun2qemu(iscsilun->bl.opt_unmap_gran,
iscsilun);
+
+ bs->bl.opt_transfer_length = sector_lun2qemu(iscsilun->bl.opt_xfer_len,
+ iscsilun);
}
#if defined(LIBISCSI_FEATURE_NOP_COUNTER)