Page 1 of 1

Windows VirtualBox & Qemu

Posted: 22. Jun 2020, 12:49
by Giowi
Hi everyone,
i am using on windows 10 the virtualbox emulator to emulate windows xp.
I wanted to create a windows xp qcow2 file for use with qemu on android.
Is it possible to transform the .vdi file (the one used to emulate winxp with virtualbox) into qcow2?
I hope I was clear
Thank you all

Re: Windows VirtualBox & Qemu

Posted: 22. Jun 2020, 13:14
by mpack
Not directly, but if you find a tool to convert VDI, VHD or VMDK to QCOW then you will have an indirect route.

... though I'm not sure that you need one. QEMU directly supports all of the container formats listed above. The additional features of the QCOW format are not attractive to me (e.g. disk compression implies poor seek performance). Frankly I think the programmers had a severe attack of Featuritis with that one.

Re: Windows VirtualBox & Qemu

Posted: 22. Jun 2020, 13:23
by Giowi
mpack wrote:Not directly, but if you find a tool to convert VDI, VHD or VMDK to QCOW then you will have an indirect route.

... though I'm not sure that you need one. QEMU directly supports all of the container formats listed above. The additional features of the QCOW format are not attractive to me (e.g. disk compression implies poor seek performance). Frankly I think the programmers had a severe attack of Featuritis with that one.
So, How can I use .vdi file with qemu for android?

Re: Windows VirtualBox & Qemu

Posted: 22. Jun 2020, 19:37
by scottgus1
mpack wrote:QEMU directly supports all of the container formats listed above
I suspect that this means that Qemu should allow you to pick the .vdi file when you're selecting a disk, same as where you'd pick the .qcow file. Check if Qemu's Open dialog has an extension filter that only shows qcow's, and see if the dropdown allows different filters or 'all files'.

Re: Windows VirtualBox & Qemu

Posted: 23. Jun 2020, 10:37
by mpack
mpack wrote:Not directly, but if you find a tool to convert VDI, VHD or VMDK to QCOW then you will have an indirect route.
... and it struck me later than QEMU itself probably provides that tool.

Re: Windows VirtualBox & Qemu

Posted: 23. Jun 2020, 14:01
by multiOS
And this should help: https://linux.die.net/man/1/qemu-img subject to the Android 'host' being able to install the 'qemu-utils' package.