diff options
author | Gonglei <arei.gonglei@huawei.com> | 2014-10-07 16:00:31 +0800 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-10-15 09:52:55 +0200 |
commit | 8dece34f26dbb8995c8e857052ccd084937d6a66 (patch) | |
tree | 86d753ea2bf8cf132d391a557f54c2e67f7f93e1 /include/hw/block | |
parent | 3342ec324a7a9e4cf451968a1b320e8098410cb6 (diff) |
block: remove bootindex property from qdev to qom
Remove bootindex form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/hw/block')
-rw-r--r-- | include/hw/block/block.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/block/block.h b/include/hw/block/block.h index 3a0148848b..867a226643 100644 --- a/include/hw/block/block.h +++ b/include/hw/block/block.h @@ -49,7 +49,6 @@ static inline unsigned int get_physical_block_exp(BlockConf *conf) _conf.physical_block_size, 512), \ DEFINE_PROP_UINT16("min_io_size", _state, _conf.min_io_size, 0), \ DEFINE_PROP_UINT32("opt_io_size", _state, _conf.opt_io_size, 0), \ - DEFINE_PROP_INT32("bootindex", _state, _conf.bootindex, -1), \ DEFINE_PROP_UINT32("discard_granularity", _state, \ _conf.discard_granularity, -1) |