qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] ISCSI: Readcapacity retruned the lba of the las


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] ISCSI: Readcapacity retruned the lba of the last sector. Total number of sectors is one more.
Date: Fri, 04 May 2012 10:37:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120425 Thunderbird/12.0

Il 04/05/2012 10:15, Ronnie Sahlberg ha scritto:
>      itask->iscsilun->num_blocks = rc16->returned_lba;
> -    itask->bs->total_sectors    = rc16->returned_lba *
> +    itask->bs->total_sectors    = (rc16->returned_lba + 1) *

What about itask->iscsilun->num_blocks? :)  No need to resend, I fixed
this locally.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]