其他分享
首页 > 其他分享> > KVM创建快照失败 “Operation not supported: internal snapshots of a VM with pflash based firmware are not su

KVM创建快照失败 “Operation not supported: internal snapshots of a VM with pflash based firmware are not su

作者:互联网

KVM/QEMU创建虚拟机快照时,报如下错误:

Operation not supported: internal snapshots of a VM with pflash based firmware are not supported

 

解决办法:

  1. 进入宿主机,并切入到root用户

  2. 运行命令“virsh list”,查找虚拟机名称

  3. 运行命令,编辑虚拟机配置文件

    # virsh edit Test_VirtualMachine_NAME

    1)搜索关键字“loader”,定位到需要修改字段所在的行

    2)将字段“type=pflash”修改为“type=rom”,保存":wq!"

    

  4. 关闭虚拟机:

    # virsh shutdown Test_VirtualMachine_NAME

  5. 启动虚拟机:

    # virsh start Test_VirtualMachine_NAME

  6. 查看虚拟机配置文件type,是否已修改为“rom”

    #  virsh dumpxml Test_VirtualMachine_NAME | grep loader

    

  7. 再次创建虚拟机快照成功!

标签:KVM,快照,NAME,VirtualMachine,虚拟机,supported,virsh,Test
来源: https://www.cnblogs.com/anderly/p/14977989.html