]> xenbits.xensource.com Git - people/liuw/stubdom.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 Campbell <ian.campbell@citrix.com>
Fri, 21 Mar 2014 11:49:24 +0000 (11:49 +0000)
commit53ed3379b545a3a1eb376d74cf47bffec2abf7bb
tree43b97ce4f6441013a09e6eb34faa03b935f5c147
parent4f527d4c0cebfed500456bd583d68ae0d820d1a5
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>
grub/mini-os.c