Re: /dev/pts linking option?

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

 



On Wed, 2010-02-24 at 07:41 +0000, Daniel P. Berrange wrote:
> 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.

Ooh, now that's useful. It would also be nice to have a symlink, but I
think this will do for the moment - thanks!

Jon.

P.S. Thanks for awesome blog post on NUMA.



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

  Powered by Linux