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

Jean-Pierre Ribeauville jpribeauville at axway.com
Fri Aug 28 07:57:18 UTC 2015


Hi,

By using an "qemu"  accessible path , bi -directional  exchanges are working fine.

Thx for help.

J.P.

-----Message d'origine-----
De : Michal Privoznik [mailto:mprivozn at redhat.com] 
Envoyé : vendredi 28 août 2015 08:41
À : Jean-Pierre Ribeauville; libvirt-users at redhat.com
Objet : Re: [libvirt-users] Using unix-type channel ....

On 28.08.2015 08:34, Jean-Pierre Ribeauville wrote:
> HI,
> 
> 
> 
> Thx for your hint.
> 
> 
> 
> I've tried this instead :
> 
> 
> 
> <channel type='unix'>
> 
>       <source mode='bind' path='/opt/omnivision_1.agent'/>
> 
>       <target type='virtio' name='omnivision_1.agent'/>
> 
>       <address type='virtio-serial' controller='0' bus='0' port='2'/>
> 
>     </channel>
> 
> 
> 
> Then,  when starting the Guest I get this error message :

[It's better to send just text via e-mail]

So, the error message is telling you, that qemu process does not have enough permissions to bind to the unix socket under the given path.
Either you should level up qemu permissions (e.g. run it as root), or use path that qemu will have access to. Or set correct permissions on the socket target.

Michal




More information about the libvirt-users mailing list