【问题一】 问题形貌:在ARM服务器上,virt-install利用下令行模式安装捏造机时,若--extra-args加入console=tty0,创建捏造机将失败,下令实行某个阶段,就会卡死无法继续运行。 解决办法:可以把console=tty0改为console=ttyS0或者console=ttyAMA0。只要没有console=tty0就好了。 【问题二】
问题形貌:KVM创建快照失败 “Operation not supported: internal snapshots of a VM with pflash based firmware are not supported” 解决办法:
目前没有办法创建内部快照,官方没有修复方法。唯一的办法是利用外部快照。 参考URL:
https://unix.stackexchange.com/questions/663372/error-creating-snapshot-operation-not-supported-internal-snapshots-of-a-vm-wit
https://fabianlee.org/2021/01/10/kvm-creating-and-reverting-libvirt-external-snapshots/ 【问题三】 问题形貌:cannot undefine domain with nvram 解决办法:
[root@localhost ~]# virsh undefine vm1 --nvram #添加--nvram参数即可