From: Samuel Thibault Subject: Re: [PATCH] PV-GRUB: fix blk access at end of disk Date: Fri, 21 Mar 2014 13:34:50 +0100 Message-ID: <20140321123450.GA8094@type.bordeaux.inria.fr> References: <20140321015656.GA19821@type.youpi.perso.aquilenet.fr> <20140321020234.GT5840@type.youpi.perso.aquilenet.fr> <1395404404.19839.16.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <1395404404.19839.16.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Ian Jackson , Jan Beulich , Xen-devel List-Id: xen-devel@lists.xenproject.org Ian Campbell, le Fri 21 Mar 2014 12:20:04 +0000, a =E9crit : > On Fri, 2014-03-21 at 03:02 +0100, Samuel Thibault wrote: > > Samuel Thibault, le Fri 21 Mar 2014 02:56:56 +0100, a =E9crit : > > > GRUB usually always loads a whole disk track, even if that means going > > > beyond the end of the disk. We thus have to gracefully return an err= or, > > > instead of letting the blkfront go panic. > > = > > (yes I was (un)lucky enough to see a generated initrd ending up at the > > very end of my /...) > = > Urk! Acked + applied. > = > (but should blkfront not also catch this and return an error?) Yes, and not only that, but also propagate errors coming from the blkback. I have added that to my TODO list. Samuel