The branch releng/15.2 has been updated by cperciva:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=059107e5423120aa8e48868c62c0d5211871d5be

commit 059107e5423120aa8e48868c62c0d5211871d5be
Author:     Ilya Bakulin <[email protected]>
AuthorDate: 2026-12-02 19:18:12 +0000
Commit:     Colin Percival <[email protected]>
CommitDate: 2026-12-03 21:55:34 +0000

    GCE: Switch to using kvmclock timecounter on GCE VMs
    
    Currently, GCE VMs are configured to use the "ACPI-safe" timecounter,
    which does not exist on modern VM hardware. The system then falls back
    to TSC-low because it has a higher quality rating than kvmclock.
    However, TSC-low may report incorrect time after a VM migrates to a
    different host system.
    
    Instruct GCE VMs to use the kvmclock timecounter so that timekeeping
    remains accurate across live migrations.
    
    Approved by:    re (cperciva)
    Reported by:    delphij
    Reviewed by:    delphij
    Approved by:    delphij (mentor)
    Approved by:    re (cperciva)
    Differential Revision:  https://reviews.freebsd.org/D62121
    
    (cherry picked from commit 141e74291075785c7898763d33288b7fd8b9f06d)
    (cherry picked from commit a61ec24c11d052ecbe5cfb9d5bfd11e18d352139)
---
 release/tools/gce.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/release/tools/gce.conf b/release/tools/gce.conf
index 938672ac92e0..809ff51dc9ec 100644
--- a/release/tools/gce.conf
+++ b/release/tools/gce.conf
@@ -57,7 +57,7 @@ beastie_disable="YES"
 loader_logo="none"
 hw.memtest.tests="0"
 console="comconsole,vidconsole"
-kern.timecounter.hardware=ACPI-safe
+kern.timecounter.hardware=kvmclock
 aesni_load="YES"
 nvme_load="YES"
 

Reply via email to