QEMU is an emulator for various CPUs. QEMU can emulate Operating System like Linux, Windows, FreeBSD, etc such as Virtual Box and VMWare do. But unlike other emulator, QEMU can also emulate machine. Hence you can get an ARM “run” on top of your machine.
When used as a machine emulator, QEMU can run OSes and programs made for one machine (e.g. an ARM board) on a different machine (our machine) by using dynamic translation with very good performance. When used as a virtualizer, QEMU achieves near native performance by executing the guest code directly on the host CPU.
On previous article we have discuss many things on QEMU such as: Installing Slackware on QEMU and also Installing QEMU on Slackware64. In this article we will discuss something different. We will discuss about how to install QEMU on Windows using Windows 8 64-bit. Although I use Windows 8 64 bit as example, you can also build QEMU on your 32-bit Windows machine.
Obtain the Materials
QEMU binaries for Windows is officially not supported and not maintained by QEMU. To obtain QEMU for Windows we can get the unofficial binaries from some contributors. Here we have some providers:
Thanks for your work for providing the binaries.
In this article, I will use QEMU 1.5.2 which is provided by Prashant Satish. You can do direct download the specified file here.
Make sure you have application that can open and extrace .lzma type. I recommend you to use 7zip for this purpose.
Well, there is no special treatment for QEMU installation. First, extract the archive (in this case: qemu-1.5.2-win32.tar.lzma). You will get a directory qemu and some binaries inside. Let’s move this directory to C: thus we will get C:\qemu now.
Next, we need to “register” qemu binaries so Windows can execute them.
Now open Control Panel. Now choose Edit the system environment variables. If you can’t find it, enter Control Panel\System and Security\System to address bar and choose Advanced system settings. Click on Environment Variables button and edit path. Add following: “;C:\qemu” without quote “.
Open up command prompt, and let’s try to boot QEMU.
You should see a new window appear like a new PC just booting up.qemu, virtualization