<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "> Hi,<br> I am trying to set up vmchannel between the host and guest os.<br><br> However, "sudo virsh start vm1" always gave me this error:<br>
 *************************************************************<br> error: Failed to start domain vm1<br> error: internal error Process exited while reading console log output: char<br> device redirected to /dev/pts/5<br> bind(unix:/tmp/foo): Permission denied<br>
 chardev: opening backend "socket" failed<br> *************************************************************<br><br> Related xml is:<br> *************************************************************<br> <channel type='unix'><br>
   <source mode='bind' path='/tmp/foo'/><br>   <target type='virtio' name='channel.port.0'/><br>   <address type='virtio-serial' controller='0' bus='0' port='1'/><br>
 </channel><br> *************************************************************<br><br> I can succeed while I manually run the guest os by:<br> *************************************************************<br> sudo kvm -device virtio-serial \<br>
 -chardev socket,path=/tmp/foo,server,nowait,id=foo \<br> -device virtserialport,chardev=foo,name=org.fedoraproject.port.0\<br> /path/to/vm1.img<br> *************************************************************<br><br> I also noticed that libvirt is able to create socke<br>
 /var/lib/libvirt/qemu/vm1.monitor every time. I can't win even I change the unix<br> socket path to "/var/lib/libvirt/qemu/foo"<br><br><br> Any information will be appreciated!</span>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Thanks,</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Will</span></font></div>