summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2008-01-23 17:56:50 +0100
committerRusty Russell <rusty@rustcorp.com.au>2008-02-04 23:50:09 +1100
commit135da0b037984c0284acdf40aaf4f7f31eb5cbd0 (patch)
tree733f368d62f5e1367550380d50c2e6d98e498660 /ipc
parent6c0cd7c000dc0851035c5003bf9d47733d0b257b (diff)
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions