From: Christian Borntraeger Date: Wed, 23 Jan 2008 16:56:50 +0000 (+0100) Subject: virtio_blk: provide getgeo X-Git-Tag: v2.6.25-rc1~1058^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=135da0b037984c0284acdf40aaf4f7f31eb5cbd0;p=pandora-kernel.git virtio_blk: provide getgeo Rusty, I currently try to make my guest boot from an virtio root device without having an external kernel. Some of the tools that I tried expect HDIO_GETGEO to work. The most interesting value is likely the geo.start value to get the offset of a partition. This value is filled by block/ioctl.c if fops->getgeo is set. This patch also fills in some standard values for heads, sectors and cylinders. Makes sense? Signed-off-by: Christian Borntraeger Signed-off-by: Rusty Russell --- Reading git-diff-tree failed