summaryrefslogtreecommitdiff
path: root/hw/block-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/block-common.h')
-rw-r--r--hw/block-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/block-common.h b/hw/block-common.h
index 52bdddaac6..bb808f7f56 100644
--- a/hw/block-common.h
+++ b/hw/block-common.h
@@ -60,6 +60,8 @@ static inline unsigned int get_physical_block_exp(BlockConf *conf)
/* Configuration helpers */
void blkconf_serial(BlockConf *conf, char **serial);
+int blkconf_geometry(BlockConf *conf, int *trans,
+ unsigned cyls_max, unsigned heads_max, unsigned secs_max);
/* Hard disk geometry */