Re: [libvirt-users] Both virsh console logging and pty usage

2016-02-03 Thread David Caro
On 02/02 13:30, Peter Steele wrote: > 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

Re: [libvirt-users] Both virsh console logging and pty usage

2016-02-02 Thread Peter Steele
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 t

[libvirt-users] Both virsh console logging and pty usage

2016-02-02 Thread Carlos Godoy
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?