Re: /dev/pts linking option?

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

 



On Tue, Feb 23, 2010 at 08:14:12PM -0500, Jon Masters wrote:
> Folks,
> 
> Does anyone know whether libvirt provides a means for me to guarantee a
> persistent link for my guest's virtual serial console? I need to have a
> consistent mapping (for example, a symlink that always points to the
> correct /dev/pts entry) so I can automate kgdb hookup on boot.

The /dev/pts path for a guest is always recorded in the XML, so just query
the XML file for it once it is running to discover the allocated path, or 
use the convenient 'virsh ttyconsole' command which prints just the path
immediately.

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


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

  Powered by Linux