使用qemu命令
qemu-system-x86_64 -hda image/ubuntu-test.img -cdrom ubuntu-16.04.2-server-amd64.iso -m 1024 -enable-kvm -boot d
安装ubuntu时,出现错误
Could not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory
解决办法:f2进入bios界面,查找virtual字样的选项,将其开启(enable)