diff options
author | 2023-02-06 17:28:10 +0000 | |
---|---|---|
committer | 2023-03-02 19:13:52 -0500 | |
commit | 1c580bed9ab52c5207b49e15085f069b25d282a8 (patch) | |
tree | 87c0b1bd2826c10e9e72db27b82180a76f6337fe /scripts/coverage/compare_gcov_json.py | |
parent | hw/cxl: set cxl-type3 device type to PCI_CLASS_MEMORY_CXL (diff) | |
download | qemu-1c580bed9ab52c5207b49e15085f069b25d282a8.tar.xz qemu-1c580bed9ab52c5207b49e15085f069b25d282a8.zip |
hw/cxl: Add CXL_CAPACITY_MULTIPLIER definition
Remove usage of magic numbers when accessing capacity fields and replace
with CXL_CAPACITY_MULTIPLIER, matching the kernel definition.
Signed-off-by: Gregory Price <gregory.price@memverge.com>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20230206172816.8201-5-Jonathan.Cameron@huawei.com>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/coverage/compare_gcov_json.py')
0 files changed, 0 insertions, 0 deletions