源码安装qemu-2.0.0
下载源代码并解压
http://wiki.qemu-project.org/download/qemu-2.0.0.tar.bz2
tar -xjf qemu-2.0.0.tar.gz
编译及安装:
cd qemu-2.0.0
./configure --enable-kvm --enable-debug --enable-vnc --enable-werror --target-list="x86_64-softmmu"
make –j8 & make install
即可安装完成
如果在./configure步骤遇到了 ERROR: glib-2.12 gthread-2.0 is required to compile QEMU
解决方案如下:
下载glib-2.12.12源代码并解压:
http://ftp.gnome.org/pub/gnome/sources/glib/2.12/glib-2.12.12.tar.bz2
tar –xjf glib-2.12.12
cd glib-2.12.12
./configure
make –j8 & make install