CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/02/08 03:03:13

Modified files:
        sys/arch/amd64/amd64: vmm_machdep.c 

Log message:
vmm: Expose pvclock only if tsc frequency is known

If the tsc frequency is unknown, tsc_frequency == 0 and vmm will set
vc_pvclock_system_tsc_mul = 0 which will cause the guest's pvclock to
not advance until vmm updates the struct pvclock_time_info on the next
vmentry.  tsc_frequency == 0 can happen in nested virtualization
setups.

Therefore, do not expose the pvclock feature bits if tsc_frequency == 0,
both in the KVM and in the VMM hypervisor signature.

ok mlarkin

Reply via email to