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.