使用virt-manger克隆一個虛擬機,再打開虛擬機失敗,失敗錯誤以下:centos
Error starting domain: internal error:process exited while connecting to monitor: 2016-09-23T11:25:02.302266Zqemu-kvm: -chardevsocket,id=charchannel0,path=/var/lib/libvirt/qemu/channel/target/domain-centos7.0_mini/org.qemu.guest_agent.0,server,nowait:Failed to bind socket: No such file or directory 2016-09-23T11:25:02.302352Z qemu-kvm:-chardevsocket,id=charchannel0,path=/var/lib/libvirt/qemu/channel/target/domain-centos7.0_mini/org.qemu.guest_agent.0,server,nowait:chardev: opening backend "socket" failed
解決方法:bash
將channel qemu-ga硬件移除掉。dom
或者修改配置文件將下面部分刪除或註釋掉socket
實際測試發現,刪除配置文件中<channel>段使用圖形界面開啓vm依然報錯。可是經過圖形界面移除channel qemu-ga,查看配置文件確實是刪除此段配置。ide
解決方法出至:https://bugzilla.redhat.com/show_bug.cgi?id=1270696。測試