From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751238AbdANP10 (ORCPT ); Sat, 14 Jan 2017 10:27:26 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35901 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750802AbdANP1Z (ORCPT ); Sat, 14 Jan 2017 10:27:25 -0500 Date: Sat, 14 Jan 2017 16:26:36 +0100 From: Richard Cochran To: Radim Krcmar Cc: Marcelo Tosatti , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Paolo Bonzini , Miroslav Lichvar Subject: Re: [patch 3/3] PTP: add kvm PTP driver Message-ID: <20170114152636.GA16883@localhost.localdomain> References: <20170113120131.086634482@redhat.com> <20170113120319.777765254@redhat.com> <20170113155657.GD22440@potion> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170113155657.GD22440@potion> 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 Fri, Jan 13, 2017 at 04:56:58PM +0100, Radim Krcmar wrote: > > +static int __init ptp_kvm_init(void) > > +{ > > + if (!kvm_para_available()) > > + return -ENODEV; > > + > > + kvm_ptp_clock.caps = ptp_kvm_caps; > > + > > + kvm_ptp_clock.ptp_clock = ptp_clock_register(&kvm_ptp_clock.caps, NULL); > > It is a shame that the infrastructure uses polling when the guest could > be notified on every host real time change, but this should be good > enough. This comment makes no sense at all. What do you mean by "host real time change"? Thanks, Richard