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'/>



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.




J.P. Ribeauville


P: +33.(0).



Puteaux 3 Etage 5  Bureau 4





P Pensez l’environnement avant d’imprimer.