RE: [RFC] Adding timestamp to guest's serial console log

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

 



ping

-----Original Message-----
From: Shaleen Bathla <shaleen.bathla@xxxxxxxxxx> 
Sent: Tuesday, June 20, 2023 2:44 PM
To: libvir-list@xxxxxxxxxx
Subject: [RFC] Adding timestamp to guest's serial console log

Hi,

Need some comments regarding the following feature :
Addition of timestamp support for serial console logs of a guest.

We can implement it as a configurable attribute in xml.
For example :
<serial type='pty'>
  <log file='$PATH/$GUESTNAME-serial0.log' append='on' timestamp="on/off"/>
  <target type='isa-serial' port='0'>
    <model name='isa-serial'/>
  </target>
</serial>

We can add a timestamp after every '\n' character received from qemu.
Can I have some comments regarding this change like what I should keep
in mind while implementing, whether it is a welcome addition or not,
issues I might face, any qemu changes required.

Thanks and Regards,
Shaleen Bathla





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux