系统平台为Ubuntu 12.04
通过 sudo apt-get install qemu 命令安装过qemu后,在terminal输入qemu显示如下:
@HY-Ubuntu:~/linux-3.3.1$ qemu
No command 'qemu' found, did you mean:
Command 'qtemu' from package 'qtemu' (universe)
Command 'aqemu' from package 'aqemu' (universe)
qemu: command not found
在usr/bin目录输入q,按tab键匹配有:
@HY-Ubuntu:/usr/bin$ q
qdbus qemu-io qpdldecode
qemu-ga qemu-launcher qrttoppm
qemu-i386 qemu-nbd quirks-handler
qemu-ifdown qemu-system-i386 quote
qemu-ifup qemu-system-x86_64 quote_readline
qemu-img qemu-x86_64
通过google。得解决方案:
使用qemu-system-i386或qemu-system-x86_64指令替换qemu指令。如果你想还是使用qemu指令,可以建立一条软链接:
sudo ln -s /usr/bin/qemu-system-i386 /usr/bin/qemu