mirror of
https://github.com/qemu/qemu.git
synced 2026-07-09 01:56:21 +00:00
There's an existing helper function designed to obtain the block size. Modify ram_block_attribute_create() to use this function for consistency. Tested-by: Farrah Chen <farrah.chen@intel.com> Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com> Link: https://lore.kernel.org/r/20251023095526.48365-3-chenyi.qiang@intel.com [peterx: fix double spaces, per david] Signed-off-by: Peter Xu <peterx@redhat.com>