Received: from eggs.gnu.org ([2001:4830:134:3::10]:33031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHrD9-0008BK-Mj for qemu-devel@nongnu.org; Thu, 14 Aug 2014 05:20:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHrD4-0002ux-EO for qemu-devel@nongnu.org; Thu, 14 Aug 2014 05:20:43 -0400 Date: Thu, 14 Aug 2014 10:20:33 +0100 From: Stefan Hajnoczi Message-ID: <20140814092033.GC9874@stefanha-thinkpad.redhat.com> References: <1407914611-10516-1-git-send-email-mjt@msgid.tls.msk.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MnLPg7ZWsaic7Fhd" Content-Disposition: inline In-Reply-To: <1407914611-10516-1-git-send-email-mjt@msgid.tls.msk.ru> Subject: Re: [Qemu-devel] ide: only constrain read/write requests to drive size, not other types List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: qemu-trivial@nongnu.org, kwolf@redhat.com, qemu-stable@nongnu.org, qemu-devel@nongnu.org, armbru@redhat.com --MnLPg7ZWsaic7Fhd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 13, 2014 at 11:23:31AM +0400, Michael Tokarev wrote: > Commit 58ac321135a introduced a check to ide dma processing which > constrains all requests to drive size. However, apparently, some > valid requests (like TRIM) does not fit in this constraint, and > fails in 2.1. So check the range only for reads and writes. >=20 > Cc: qemu-stable@nongnu.org > Signed-off-by: Michael Tokarev > Signed-off-by: Markus Armbruster Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan --MnLPg7ZWsaic7Fhd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJT7H9hAAoJEJykq7OBq3PIPaoH/0ulBUaDKC2r7kYhrpj+85FU fkpAJ/uAcPyeviK/cuofvjxj/ivMMuG7fg84Lm/h9CnJ9BAKG5DC7vkp1J1G/lIH IRpNPs56ytu7zd6l84UoPr5Za+Juj6bjls9yPeo1fJAr7likdINByewAqSP5dIOx 4AC2/VtUhYzhMDiL51nZPoui5ChfV5GH3AZSwMjxZfgT82gBBBpfey2vS8xA4BfB 4I+pplb6iPETT5+gryArc5aM+58vJYnanw/PRiPTI9Jm+sWj17LSJTz4cPY4sA4F 8pSy9OApgX8aYgMFC/6UTewpxTcBoK8cbHKM9sHO5nuibv5goHSCNdI2v2byuUc= =MRES -----END PGP SIGNATURE----- --MnLPg7ZWsaic7Fhd--