mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
add_cluster_end queried the file length by seeking to the end. Use the existing physical_size helper instead, which reads the length from the file metadata. This removes the final cursor access in QcowRawFile, so the Seek and SeekFrom imports are no longer needed. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>