1、显卡驱动
AMD显卡驱动Redeon SoftWare快捷键需要全部去除,不然会各种冲突
2、嵌套虚拟化
AMD做嵌套虚拟化会出现报错:
error: internal error: qemu unexpectedly closed the monitor: 2020-12-12T07:00:48.748478Z qemu-kvm: error: failed to set MSR 0xe1 to 0x0
qemu-kvm: /builddir/build/BUILD/qemu-2.12.0/target/i386/kvm.c:2119: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.
需要在虚拟机中添加配置文件:
/etc/modprobe.d/qemu-system-x86.conf
sudo tee /etc/modprobe.d/qemu-system-x86.conf << EOF
options kvm ignore_msrs=1
EOF