Building a qemu vm on windows

Source: Internet
Author: User

 

QEMU does not rely on many things, so it does not take too much effort to compile it on windows.
The main dependency is glib2, SDL, and libraries such as zlib and gettext, as well as pkg-config.
The mingw tool is generally included. You only need to compile glib2 and SDL.
Python needs to be installed. The current version of python is 2.6.
Compile the dependent Library first. The compilation of glib2 and SDL is very simple. Note that if you want
If SDL is rendered in ddraw mode, you need to download
Directx header and. ,:
Http://lassauge.free.fr/qemu/release/mingw-directx-5.0-EL.tar.bz2
Then make & make install can get qemu.exe,qemu-img.exe
And then copy all the files in the pc-biosdirectory to qemu.exe.
Directory.
Create a disk image first, and enter the following command in the command line:
Qemu-img.exe create vmdisk. img 5G
For the testing virtual machine, it should be 5 GB to install an xp.
Then, prepare the xp installation and startup CD iso and start the VM:
Qemu.exe-L.-hda vmdisk. img-cdrom d: \ GHOSTXPSP3_F32.iso-m 512 M-boot c-net nic-net user-soundhw sb16, es1370
M memory is enough. The Internet access is similar to the wm nat mode. There is also a PCI sound card with a chip of es1370 (sound is always a bit cracked and I don't know what's going on ).
For the sake of convenience, it is a little slow to directly install xp on ghost. There is still a big gap between windows and vmvm, and it feels okay in linux.
Restart, finally OK, finally on windows I finally tried a qemu, cut a figure. www.2cto.com

 

From Jack. arain's blog

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.