[libvirt-users] Both virsh console logging and pty usage
Peter Steele
pwsteele at gmail.com
Tue Feb 2 21:30:35 UTC 2016
I wrote a piece of code recently that monitors the consoles of the VMs
and while no one is attached to the console, it throws away the buffer
as any text appears. If someone *is* attached, it leaves it alone. It
wouldn't be hard to modify the code to save the console text to a file
instead of throwing it away. If you are interested, I can post the code.
Peter
On 02/02/2016 07:36 AM, Carlos Godoy wrote:
> Hi,
>
> I am trying to set my VMs for redirecting their consoles to a file but
> its important to keep the virsh console access to solve any problem I
> can find while they are running. I tried several settings through
> libvirt (serial and console tags) but I can not get the key.
>
> Any suggestion? Any help?
>
> Many thanks in advance.
> Carlos G.
>
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20160202/140a5982/attachment.htm>
More information about the libvirt-users
mailing list