[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] SCSI: improve the lba-out-of-range tests for re
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] SCSI: improve the lba-out-of-range tests for read/write/verify |
Date: |
Thu, 12 Jul 2012 09:15:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
Il 12/07/2012 09:06, ronnie sahlberg ha scritto:
> Sorry, there is a bug in it.
>
> Can you change it to :
> || r->req.cmd.lba + len > s->qdev.max_lba + 1) {
>
> or else the last lba of the device will be flagged as out of range.
Yes, done that already. Can you add a test for the last LBA to your
testsuite?
Paolo