Peter Lieven 6d1f252d8c block/iscsi: validate block size returned from target
It has been reported that at least tgtd returns a block size of 0
for LUN 0. To avoid running into divide by zero later on and protect
against other problematic block sizes validate the block size right
at connection time.

Cc: qemu-stable@nongnu.org
Reported-by: Andrey Korolyov <andrey@xdel.ru>
Signed-off-by: Peter Lieven <pl@kamp.de>
Message-Id: <1439552016-8557-1-git-send-email-pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-09-07 18:14:03 +02:00
..
2015-06-22 18:20:40 +02:00
2015-08-14 09:51:31 -04:00
2015-04-28 15:36:09 +02:00
2015-06-22 18:20:40 +02:00
2015-07-07 10:31:04 +01:00
2015-07-14 17:15:23 +02:00
2014-08-15 15:07:14 +02:00
2015-06-23 15:06:17 +01:00