Re: [Devel] [PATCH rh9 v2] kmsg: Virtualize timestamps in /dev/ksmg output

2023-02-13 Thread Alexander Atanasov
On 8.02.23 14:27, Konstantin Khorenko wrote: Internally log messages contain the timestamps relative to the Host boot time, while Container could start much later than the Host boots and the timestamps should be shifted accordingly. Otherwise "dmesg -H" reports data from the future. Note: * t

[Devel] [PATCH rh9 v2] kmsg: Virtualize timestamps in /dev/ksmg output

2023-02-08 Thread Konstantin Khorenko
Internally log messages contain the timestamps relative to the Host boot time, while Container could start much later than the Host boots and the timestamps should be shifted accordingly. Otherwise "dmesg -H" reports data from the future. Note: * time_ns->offsets.boottime is (ve_uptime - host_up