diff options
author | Fan Ni <fan.ni@samsung.com> | 2024-05-23 10:44:45 -0700 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-07-01 17:16:04 -0400 |
commit | 25851080772387ae33d6ee94250b3a31bf719e5c (patch) | |
tree | ebd8b7a4694695857d05c1f01a977b3b018560cb /include/hw/cxl | |
parent | 0f0f140b100392fd938eb6933752155ea68b26a8 (diff) | |
download | qemu-25851080772387ae33d6ee94250b3a31bf719e5c.zip qemu-25851080772387ae33d6ee94250b3a31bf719e5c.tar.gz qemu-25851080772387ae33d6ee94250b3a31bf719e5c.tar.bz2 |
include/hw/cxl/cxl_device: Rename mem_size as static_mem_size for type3 memory devices
Rename mem_size as static_mem_size for type3 memdev to cover static RAM and
pmem capacity, preparing for the introduction of dynamic capacity to support
dynamic capacity devices.
Reviewed-by: Gregory Price <gregory.price@memverge.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Fan Ni <fan.ni@samsung.com>
Message-Id: <20240523174651.1089554-6-nifan.cxl@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/cxl')
-rw-r--r-- | include/hw/cxl/cxl_device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/cxl/cxl_device.h b/include/hw/cxl/cxl_device.h index e839370..f7f56b4 100644 --- a/include/hw/cxl/cxl_device.h +++ b/include/hw/cxl/cxl_device.h @@ -234,7 +234,7 @@ typedef struct cxl_device_state { } timestamp; /* memory region size, HDM */ - uint64_t mem_size; + uint64_t static_mem_size; uint64_t pmem_size; uint64_t vmem_size; |