Centos7下Qemu源碼安裝

1、安裝環境git

操做系統:Centos7.1vim

內核版本:3.10.0-229.el7.x86_64oop

安裝目的:QEMU與塊設備ui

 

2、qemu安裝spa

 git clone git://git.qemu-project.org/qemu.git
cd qemu/
./configure --prefix=/usr/local/qemu --enable-rbd --enable-kvm --enable-debug --enable-vnc --enable-werror make -j8 
make install  

添加環境變量操作系統

vim /etc/profile debug

 

注意qemu2.6默認rbd支持關閉。orm

# qemu-system-x86_64 -drive format=?
Supported formats: cloop rbd vvfat http https vpc ftp qed ftps parallels tftp vdi luks blkreplay bochs blkdebug sheepdog null-co null-aio raw qcow2 blkverify host_device vmdk host_cdrom qcow dmg nbd file


# qemu-system-x86_64 --version                                                                                                                                             
QEMU emulator version 2.6.0, Copyright (c) 2003-2008 Fabrice Bellard
相關文章
相關標籤/搜索