summaryrefslogtreecommitdiff
path: root/hw/iommu.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-07-17 11:01:50 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-07-17 11:01:50 +0000
commita9cd634494d3cbae8d3c1519fa99a07e13400794 (patch)
tree3dae0816194576a46def5b69f337f9365be598b8 /hw/iommu.c
parent60c6c87f75a4bd3fa692910f7a586c9eac760282 (diff)
downloadqemu-a9cd634494d3cbae8d3c1519fa99a07e13400794.tar.gz
qemu-a9cd634494d3cbae8d3c1519fa99a07e13400794.tar.bz2
qemu-a9cd634494d3cbae8d3c1519fa99a07e13400794.zip
Sparc32: use hex for version numbers
0x10000000 looks better than 268435456. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/iommu.c')
-rw-r--r--hw/iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/iommu.c b/hw/iommu.c
index abf517f1dc..d73dad3e19 100644
--- a/hw/iommu.c
+++ b/hw/iommu.c
@@ -406,7 +406,7 @@ static SysBusDeviceInfo iommu_info = {
.qdev.props = (Property[]) {
{
.name = "version",
- .info = &qdev_prop_uint32,
+ .info = &qdev_prop_hex32,
.offset = offsetof(IOMMUState, version),
},
{/* end of property list */}