提交 668724a7 编写于 作者: G Gerd Hoffmann 提交者: Anthony Liguori

qdev/prop: convert iommu.c to helper macros.

Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
Message-Id: 
上级 bb36f66a
......@@ -386,12 +386,8 @@ static SysBusDeviceInfo iommu_info = {
.qdev.name = "iommu",
.qdev.size = sizeof(IOMMUState),
.qdev.props = (Property[]) {
{
.name = "version",
.info = &qdev_prop_hex32,
.offset = offsetof(IOMMUState, version),
},
{/* end of property list */}
DEFINE_PROP_HEX32("version", IOMMUState, version, 0),
DEFINE_PROP_END_OF_LIST(),
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册