From: Paolo Bonzini Subject: Re: [patch 4/7] x86/kvmclock: Cleanup the code Date: Mon, 9 Jul 2018 13:32:26 +0200 Message-ID: References: <20180706161307.733337643@linutronix.de> <20180706162049.585702951@linutronix.de> <20180709090514.GF2476@hirez.programming.kicks-ass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: LKML , Radim Krcmar , Juergen Gross , Pavel Tatashin , steven.sistare@oracle.com, daniel.m.jordan@oracle.com, x86@kernel.org, kvm@vger.kernel.org To: Peter Zijlstra , Thomas Gleixner Return-path: In-Reply-To: <20180709090514.GF2476@hirez.programming.kicks-ass.net> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 09/07/2018 11:05, Peter Zijlstra wrote: > On Fri, Jul 06, 2018 at 06:13:11PM +0200, Thomas Gleixner wrote: >> - native_write_msr(msr_kvm_wall_clock, low, high); >> + wrmsrl(msr_kvm_wall_clock, slow_virt_to_phys(&wall_clock)); > Does it matter that you went from an explicit native WRMSR instruction > to a potentially paravirt MSR thing? No, KVM doesn't paravirtualize wrmsr. Paolo