[libvirt-users] Using unix-type channel ....

Michal Privoznik mprivozn at redhat.com
Fri Aug 28 04:28:08 UTC 2015


On 27.08.2015 15:48, Jean-Pierre Ribeauville wrote:
> Hi,
> 
> I'm trying to use unix-type channel to send/receive datas between host and guest .
> 
> Here are the steps I follow :
> 
> 1) Adding these lines to expose a channel unix type to my guest
>  <channel type='unix'>
>       <source mode='bind' path='/var/lib/libvirt/qemu/omnivision_1.agent'/>
>       <target type='virtio' name='org.qemu.guest_agent.0'/>
>       <alias name='channel0'/>
>       <address type='virtio-serial' controller='0' bus='0' port='2'/>
>     </channel>
> 

This won't fly. A channel with that name is special. It's guest agent
socket that libvirt automatically connects to once domain is starting
up. You need to provide a different name and everything should just work.

Michal




More information about the libvirt-users mailing list