[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190107182012.GL6118@tassilo.jf.intel.com>
Date: Mon, 7 Jan 2019 10:20:12 -0800
From: Andi Kleen <ak@...ux.intel.com>
To: Jim Mattson <jmattson@...gle.com>
Cc: Wei Wang <wei.w.wang@...el.com>,
LKML <linux-kernel@...r.kernel.org>,
kvm list <kvm@...r.kernel.org>,
Paolo Bonzini <pbonzini@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Kan Liang <kan.liang@...el.com>,
Ingo Molnar <mingo@...hat.com>,
Radim Krčmář <rkrcmar@...hat.com>,
like.xu@...el.com, Jann Horn <jannh@...gle.com>,
arei.gonglei@...wei.com
Subject: Re: [PATCH v4 05/10] KVM/x86: expose MSR_IA32_PERF_CAPABILITIES to
the guest
> The issue is compatibility. Prior to your change, reading this MSR
> from a VM would raise #GP. After your change, it won't. That means
> that if you have a VM migrating between hosts with kernel versions
> before and after this change, the results will be inconsistent. In the
No it will not be. All Linux kernel uses of this MSR are guarded
by a CPUID check.
-Andi
Powered by blists - more mailing lists