Re: Using unix-type channel ....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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  a pop up window showing this error message :

 

Error starting domain : internal error : process exited while connecting to monitor

Quemu-kvm –chardev socket id=channel1,path=/opt/omnivision_1_agent,server,nowait

Failed to bind socket : Permission denied

 

 

Did I miss something ?

 

Regards,

 

J.P.

 

 

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

 

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

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux