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@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users