[root@jay-linux qemu-kvm.git]# ./configure --help
Usage: configure [options]
Options: [defaults in brackets after descriptions]
Standard options:
--help print this message
--prefix=PREFIX install in PREFIX [/usr/local]
--interp-prefix=PREFIX where to find shared libraries, etc.
use %M for cpu name [/usr/gnemul/qemu-%M]
--target-list=LIST set target list (default: build everything)
Available targets: i386-softmmu x86_64-softmmu
<!- 此处省略百余行帮助信息的输出 ->
--disable-guest-agent disable building of the QEMU Guest Agent
--enable-guest-agent enable building of the QEMU Guest Agent
--with-coroutine=BACKEND coroutine backend. Supported options:
gthread, ucontext, sigaltstack, windows
NOTE: The object files are built at the place where configure is launched
执行configure文件进行配置的过程如下:
1234567891011121314151617181920212223
[root@jay-linux qemu-kvm.git]# ./configure
Install prefix /usr/local
BIOS directory /usr/local/share/qemu
binary directory /usr/local/bin
library directory /usr/local/lib
include directory /usr/local/include
config directory /usr/local/etc
Manual directory /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /root/kvm_demo/qemu-kvm.git
C compiler gcc
Host C compiler gcc
<!– 此处省略数十行 –>
VNC support yes #通常需要通过VNC连接到客户机中
<!– 此处省略十余行 –>
KVM support yes #这是对KVM的支持
TCG interpreter no
KVM device assig. yes #这是对KVM中VT-d功能的支持
<!– 此处省略十余行 –>
OpenGL support yes
libiscsi support no
build guest agent yes
coroutine backend ucontext
[root@jay-linux qemu-kvm.git]# make -j 20
GEN config-host.h
GEN trace.h
GEN qemu-options.def
GEN qmp-commands.h
GEN qapi-types.h
GEN qapi-visit.h
GEN tests/test-qapi-types.h
GEN tests/test-qapi-visit.h
GEN tests/test-qmp-commands.h
CC libcacard/cac.o
CC libcacard/event.o
<!– 此处省略数百行的编译时输出信息 –>
CC x86_64-softmmu/target-i386/cpu.o
CC x86_64-softmmu/target-i386/machine.o
CC x86_64-softmmu/target-i386/arch_memory_mapping.o
CC x86_64-softmmu/target-i386/arch_dump.o
CC x86_64-softmmu/target-i386/kvm.o
CC x86_64-softmmu/target-i386/hyperv.o
LINK x86_64-softmmu/qemu-system-x86_64