projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb36f66
)
qdev/prop: convert iommu.c to helper macros.
author
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 3 Aug 2009 15:35:27 +0000
(17:35 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Mon, 10 Aug 2009 18:05:51 +0000
(13:05 -0500)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
hw/iommu.c
patch
|
blob
|
history
diff --git
a/hw/iommu.c
b/hw/iommu.c
index
585be8d
..
52385f7
100644
(file)
--- a/
hw/iommu.c
+++ b/
hw/iommu.c
@@
-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(),
}
};