• Marcelo Tosatti's avatar
    PTP: add kvm PTP driver · a0e136d4
    Marcelo Tosatti authored
    Add a driver with gettime method returning hosts realtime clock.
    This allows Chrony to synchronize host and guest clocks with
    high precision (see results below).
    
    chronyc> sources
    MS Name/IP address         Stratum Poll Reach LastRx Last sample
    ===============================================================================
    
    To configure Chronyd to use PHC refclock, add the
    following line to its configuration file:
    
    refclock PHC /dev/ptpX poll 3 dpoll -2 offset 0
    
    Where /dev/ptpX is the kvmclock PTP clock.
    Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
    Acked-by: default avatarRichard Cochran <richardcochran@gmail.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    a0e136d4
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
ptp_chardev.c Loading commit data...
ptp_clock.c Loading commit data...
ptp_ixp46x.c Loading commit data...
ptp_kvm.c Loading commit data...
ptp_pch.c Loading commit data...
ptp_private.h Loading commit data...
ptp_sysfs.c Loading commit data...