]> err.no Git - linux-2.6/commit
xen: Implement getgeo for Xen virtual block device.
authorIan Campbell <ijc@hellion.org.uk>
Thu, 21 Feb 2008 21:03:45 +0000 (13:03 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 22 Feb 2008 00:19:13 +0000 (16:19 -0800)
commit597592d951cdca8e5edb29f7e8174f633a69685a
tree7bbdf03e4cdc94086489616c65759962e6fb28f1
parent0f151e8b214c1df3f571020b849382933f2cdce7
xen: Implement getgeo for Xen virtual block device.

The below implements the getgeo hook for Xen block devices. Extracted
from the xen-unstable tree where it has been used for ages.

It is useful to have because it allows things like grub2 (used by the
Debian installer images) to work in a guest domain without having to
sprinkle Xen specific hacks around the place.

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/xen-blkfront.c