Christian Borntraeger 135da0b037 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 <borntraeger@de.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2008-02-04 23:50:09 +11:00
..
2007-10-29 11:33:05 +01:00
2007-10-29 11:33:05 +01:00
2007-10-23 15:49:55 +10:00
2008-01-28 10:36:37 +01:00
2008-01-28 10:36:42 +01:00
2008-02-01 14:34:47 -08:00
2008-02-04 23:50:09 +11:00
2008-01-29 21:54:53 +01:00