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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/block-common.h b/hw/block-common.h
index f0d509b93d..52bdddaac6 100644
--- a/hw/block-common.h
+++ b/hw/block-common.h
@@ -57,6 +57,9 @@ static inline unsigned int get_physical_block_exp(BlockConf *conf)
DEFINE_PROP_UINT32("heads", _state, _conf.heads, 0), \
DEFINE_PROP_UINT32("secs", _state, _conf.secs, 0)
+/* Configuration helpers */
+
+void blkconf_serial(BlockConf *conf, char **serial);
/* Hard disk geometry */