Re: [PATCH] x86/kvmclock: set offset for kvm unstable clock

2019-01-30 Thread Paolo Bonzini
On 28/01/19 17:22, Jon DeVree wrote: > Thanks a bunch Pavel, patch works great for me on 5.0-rc4. I also > backported it to 4.19.18 and tested it there. Should this be CC'ed to > stable@ as well? Yes, I've queued the patch and added the stable tag. Thanks, Paolo

Re: [PATCH] x86/kvmclock: set offset for kvm unstable clock

2019-01-28 Thread Jon DeVree
Thanks a bunch Pavel, patch works great for me on 5.0-rc4. I also backported it to 4.19.18 and tested it there. Should this be CC'ed to stable@ as well? -- Jon X(7): A program for managing terminal windows. See also screen(1) and tmux(1).

Re: [PATCH] x86/kvmclock: set offset for kvm unstable clock

2019-01-28 Thread Paolo Bonzini
On 26/01/19 18:49, Pavel Tatashin wrote: > VMs may show incorrect uptime and dmesg printk offsets on hypervisors with > unstable clock. The problem is produced when VM is rebooted without exiting > from qemu. > > The fix is to calculate clock offset not only for stable clock but for > unstable clo

[PATCH] x86/kvmclock: set offset for kvm unstable clock

2019-01-26 Thread Pavel Tatashin
VMs may show incorrect uptime and dmesg printk offsets on hypervisors with unstable clock. The problem is produced when VM is rebooted without exiting from qemu. The fix is to calculate clock offset not only for stable clock but for unstable clock as well, and use kvm_sched_clock_read() which subs