summaryrefslogtreecommitdiffstats
path: root/libdecnumber
diff options
context:
space:
mode:
authorWei Yang2019-02-11 07:46:29 +0100
committerMichael S. Tsirkin2019-02-21 18:28:41 +0100
commitf60f5e8076b7420e720def514b84f366766beed1 (patch)
treeab5086b21583fe95b5343561c8cdb40c46ac6849 /libdecnumber
parenttests/data: introduce "uefi-boot-images" with the "bios-tables-test" ISOs (diff)
downloadqemu-f60f5e8076b7420e720def514b84f366766beed1.tar.gz
qemu-f60f5e8076b7420e720def514b84f366766beed1.tar.xz
qemu-f60f5e8076b7420e720def514b84f366766beed1.zip
pc-dimm: use same mechanism for [get|set]_addr
[get|set]_addr are two counterpart to access PCDIMMDevice.addr. Since we have already set up a property PC_DIMM_ADDR_PROP for this field and use this mechanism in set_addr, it would be more proper to use the same mechanism in get_addr. This patch uses object_property_get_uint() to replace the direct memory access to make [get|set]_addr with the same mechanism. Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Message-Id: <20190211064629.20186-1-richardw.yang@linux.intel.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'libdecnumber')
0 files changed, 0 insertions, 0 deletions