From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [PATCH] kvm: kvmclock: let KVM_GET_CLOCK return whether the master clock is in use Date: Sat, 19 Nov 2016 20:34:34 +0100 Message-ID: <20161119193433.GG26213@potion> References: <1478710095-15022-1-git-send-email-pbonzini@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Marcelo Tosatti To: Paolo Bonzini Return-path: Content-Disposition: inline In-Reply-To: <1478710095-15022-1-git-send-email-pbonzini@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 2016-11-09 17:48+0100, Paolo Bonzini: > Userspace can read the exact value of kvmclock by reading the TSC > and fetching the timekeeping parameters out of guest memory. This > however is brittle and not necessary anymore with KVM 4.11. Provide > a mechanism that lets userspace know if the new KVM_GET_CLOCK > semantics are in effect, and---since we are at it---if the clock > is stable across all VCPUs. > > Cc: Radim Krčmář > Cc: Marcelo Tosatti > Signed-off-by: Paolo Bonzini > --- Applied to kvm/master, thanks.