mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
This daemon is only a testing tool used during integration testing. The previous code auto-detected the image type from the file's magic bytes and opened qcow2 images via QcowFile. Such behaviour has been the cause of security issues in the past. Drop the qcow2 detection and open path so only raw images are handled. Signed-off-by: Rob Bradford <rbradford@meta.com>