[Bug]: QEMU runner cannot boot to OS on qcow2 images #607
Labels
state:needs-triage
Needs to triaged to determine next steps
type:bug
Something isn't working
urgency:low
Little to no impact
Is there an existing issue for this?
Current Behavior
After https://github.com/microsoft/mu_tiano_platforms/pull/489/files#diff-f29acc9b32cd66d4c8c4c23f631994df06954559b7de7978658a3a61ecf61e75, the QemuRunner.py will no longer take a qcow2 OS image to boot on QEMU.
For example, it used to take "PATH_TO_OS=<os_image_folder/os_image_name.qcow2>" to boot to the OS, now the image does not map to the file system protocols. Specifically, the
format=raw
is causing the file not being able to be mapped.Expected Behavior
Map the qcow2 image as before. Because the qcow2 images are more resilient to the sudden deaths of QEMU process and would not get corrupted in those cases.
Steps To Reproduce
qemu-img convert -f vhdx -p -c -O qcow2 foo.vhdx foo.qcow2
Build Environment
Version Information
Urgency
Low
Are you going to fix this?
Someone else needs to fix it
Do you need maintainer feedback?
No maintainer feedback needed
Anything else?
Need to know why only the vhd is chosen to be supported in the first place.
The text was updated successfully, but these errors were encountered: