![在 Linux mint 上使用 qemu 安装 Kali 时出现错误“qemu-system-x86_64:警告:主机不支持请求的功能”](https://linux22.com/image/157602/%E5%9C%A8%20Linux%20mint%20%E4%B8%8A%E4%BD%BF%E7%94%A8%20qemu%20%E5%AE%89%E8%A3%85%20Kali%20%E6%97%B6%E5%87%BA%E7%8E%B0%E9%94%99%E8%AF%AF%E2%80%9Cqemu-system-x86_64%EF%BC%9A%E8%AD%A6%E5%91%8A%EF%BC%9A%E4%B8%BB%E6%9C%BA%E4%B8%8D%E6%94%AF%E6%8C%81%E8%AF%B7%E6%B1%82%E7%9A%84%E5%8A%9F%E8%83%BD%E2%80%9D.png)
首先我安装了 qemu 和 kvm,然后使用...创建了一个映像
sudo qemu-img create -f qcow2 debian.img 15G
...当尝试加载 iso 文件时...
sudo kvm -hda debian.img kali-linux.iso -m 2048 -net nic -net user -soundhw all
然后出现这个错误...
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:EDX.syscall [bit 11]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:EDX.lm [bit 29]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
答案1
这里的iso文件是32位的,如果不指定,它将作为64位映像。所以删除kvm
并添加qemu-system-i386
之前-hda
。这将解决问题。
答案2
qemu-system-i386 -hda debian.img -cdrom kali-linux.iso -m 2048 -net nic -net user -soundhw all