[libvirt-users] On which /dev/pts/x is channel source mapped ?

Jean-Pierre Ribeauville jpribeauville at axway.com
Tue Aug 25 15:17:51 UTC 2015


Hi,

By adding following lines in a Guest .xml  conf file , I'm able to send / receive datas between host and this guest.

<channel type='pty'>
      <target type='virtio' name='arbitrary.virtio.serial.port.name'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>

My question  is the following :

How may I find to which  /dev/pts/x  is mapped the source path  ( from the host point of view) ?
I was able to find it by having a look in the virt manager GUI , but I want to do it programmatically.

I've tried to force it by specifying a source path in the .xml file .... No way


Thx for help.

Regards,

J.P. Ribeauville


P: +33.(0).1.47.17.27.87


Puteaux 3 Etage 5  Bureau 4

jpribeauville at axway.com<mailto:jpribeauville at axway.com>
http://www.axway.com<http://www.axway.com/>



P Pensez à l'environnement avant d'imprimer.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20150825/babcbb4b/attachment.htm>


More information about the libvirt-users mailing list