Windows VirtualBox & Qemu

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Giowi
Posts: 2
Joined: 22. Jun 2020, 12:46

Windows VirtualBox & Qemu

Post 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
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Windows VirtualBox & Qemu

Post 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.
Giowi
Posts: 2
Joined: 22. Jun 2020, 12:46

Re: Windows VirtualBox & Qemu

Post 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?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Windows VirtualBox & Qemu

Post 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'.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Windows VirtualBox & Qemu

Post 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.
multiOS
Volunteer
Posts: 1227
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, BSD
Location: United Kingdom

Re: Windows VirtualBox & Qemu

Post 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.
Post Reply