[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 109819e] Sparc32: use hex for version numbers
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 109819e] Sparc32: use hex for version numbers |
Date: |
Fri, 17 Jul 2009 11:04:17 -0000 |
From: Blue Swirl <address@hidden>
0x10000000 looks better than 268435456.
Signed-off-by: Blue Swirl <address@hidden>
diff --git a/hw/eccmemctl.c b/hw/eccmemctl.c
index c5d6449..dca397d 100644
--- a/hw/eccmemctl.c
+++ b/hw/eccmemctl.c
@@ -358,7 +358,7 @@ static SysBusDeviceInfo ecc_info = {
.qdev.props = (Property[]) {
{
.name = "version",
- .info = &qdev_prop_uint32,
+ .info = &qdev_prop_hex32,
.offset = offsetof(ECCState, version),
.defval = (uint32_t[]) { -1 },
},
diff --git a/hw/iommu.c b/hw/iommu.c
index abf517f..d73dad3 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 */}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 109819e] Sparc32: use hex for version numbers,
Anthony Liguori <=