• 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
Documentation Loading commit data...
arch Loading commit data...
block Loading commit data...
certs Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt Loading commit data...
.cocciconfig Loading commit data...
.get_maintainer.ignore Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...