Due to the popularity of OpenStack, more and more people are paying attention to QEMU. Recently, the new version 1.7 is released. The following describes the installation process of Fedora:
First, install the basic compilation software and git
Sudo yum install gcc make git glib-devel zlib-devel
Get the source code from git.
Git clone git:
A directory for debugging will be created later.
-P bin/debug //.../configure --/.../configure -- enable-
Test, the qemu-system-x84_64 under this directory is commonly known as qemu-kvm, there is qemu-img in the directory at the previous layer, if you are only development, do not need to run make install. You can directly debug it in this directory.
X86_64-softmmu-L pc-bios
To facilitate debugging, qemu also provides download of image packages for various platforms.
Wget http:
Decompress the package
Bzip2-d linux-.img.bz2
Run Image
X86_64-softmmu-L linux-. img
Done!