diff options
author | Markus Armbruster <armbru@redhat.com> | 2012-07-11 15:08:37 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-07-17 16:48:32 +0200 |
commit | 911525dba9ecc21f97b05c0f09bf9319a9de3a7d (patch) | |
tree | 5d82736bd710e29d590d841bd2636d4247085eff /hw/block-common.h | |
parent | 31e404f4ffb6adadea0b35de08e0a6b640e81a02 (diff) | |
download | qemu-911525dba9ecc21f97b05c0f09bf9319a9de3a7d.tar.gz qemu-911525dba9ecc21f97b05c0f09bf9319a9de3a7d.tar.bz2 qemu-911525dba9ecc21f97b05c0f09bf9319a9de3a7d.zip |
hw/block-common: Factor out fall back to legacy -drive serial=...
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/block-common.h')
-rw-r--r-- | hw/block-common.h | 3 |
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 */ |