mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
The disk size in sectors was computed by seeking the AlignedFile to the end. Use query_device_size instead, which also handles block devices, and drop the now unused Seek and SeekFrom imports. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>