From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751068AbdAXSLw (ORCPT ); Tue, 24 Jan 2017 13:11:52 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33161 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750718AbdAXSLv (ORCPT ); Tue, 24 Jan 2017 13:11:51 -0500 Date: Tue, 24 Jan 2017 19:11:20 +0100 From: Richard Cochran To: Marcelo Tosatti Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Paolo Bonzini , Radim Krcmar , Miroslav Lichvar Subject: Re: [patch 4/4] PTP: add kvm PTP driver Message-ID: <20170124181120.GA2517@localhost.localdomain> References: <20170124170938.909652059@redhat.com> <20170124171020.537965390@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170124171020.537965390@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Richard Cochran