]> git.baikalelectronics.ru Git - kernel.git/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)
commitede4afdcfaa7e82bcf0bb0f1314067bc2109f22a
tree7bbdf03e4cdc94086489616c65759962e6fb28f1
parent2cdda26368b05466a0b2bb0d81f215326224d5ba
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