]> xenbits.xensource.com Git - xen.git/commit
PV-GRUB: fix blk access at end of disk
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 21 Mar 2014 01:56:56 +0000 (02:56 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 4 Apr 2014 15:21:50 +0000 (16:21 +0100)
commite3f630b73c159078a6991161c5255048b16d366f
treec3b62683430189e07783f361f09edced03c19e81
parent4481b30d5ea980fe469c8dfa1580ba2d107fa12f
PV-GRUB: fix blk access at end of disk

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 error,
instead of letting the blkfront go panic.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
(cherry picked from commit 51e18e41e39a682de5a2e60ad86048dc6344efec)
(cherry picked from commit 03eb5134056d61167e6781eecf7e570b491bda73)
stubdom/grub/mini-os.c