mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
detect_image_type read the first block through the AlignedFile Read cursor. Read it with read_exact_at at offset 0 instead, so image type detection no longer depends on the cursor. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>