lkml.org 
[lkml]   [2017]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 4/4] PTP: add kvm PTP driver
    On Tue, Jan 24, 2017 at 03:09:42PM -0200, Marcelo Tosatti wrote:
    > 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
    > ===============================================================================
    > #* PHC0 0 3 377 4 +162ns[ -683ns] +/- 11ns
    >
    > 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: Marcelo Tosatti <mtosatti@redhat.com>

    Acked-by: Richard Cochran <richardcochran@gmail.com>

    \
     
     \ /
      Last update: 2017-01-24 19:12    [W:4.419 / U:0.240 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site