Is it possible to convert an "Apple Virtualisation" image to "QEMU" #3784
Replies: 4 comments 2 replies
-
|
I would be interested as well on this, also on Qemu→Apple conversion. The disk contents shouldn't be impacted, but maybe needs conversion from qcow2 to something else. |
Beta Was this translation helpful? Give feedback.
-
|
I can't answer #1, but it is possible to convert a HVF raw image using qemu-img:
I'd suspect the reverse should also hold to go from Apple to QEMU. |
Beta Was this translation helpful? Give feedback.
-
|
Did you ever test that? does it work? |
Beta Was this translation helpful? Give feedback.
-
|
Conversion from RAW only works is "Use Apple Sparse Format" was unchecked when the image was created. If the image is in sparse format, it cannot be converted by qemu-img (the conversion would produce an invalid image). One way to deal with it is to add an uncompressed image of the same size and a bootable ISO to the VM, boot from the ISO and copy the disk. Then make qcow2 from the uncompressed image. I tested it for a simple Alpine install. There is also Apple's hdiutil, but it also supports uncompressed images only. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is the "Apple Virtualisation" mode in UTM using QEMU underneath the hood - or simply bypassing it and integrating straight to apple code.
Is it possible to convert an existing "Apple Virtualisation" image to a QEMU image - if so what are the process to do so?
Side note: Damn the "Apple Virtualisation" performance was surprisingly good, and I would like to do some apple to apple benchmarks against QEMU. Especially on GPU related workloads
Beta Was this translation helpful? Give feedback.
All reactions