[PULL 01/28] arm64: KVM: Hide PMU from guests when disabled
From: Christoffer Dall <hidden>
Date: 2018-01-31 11:00:14
Also in:
kvm, kvmarm
From: Christoffer Dall <hidden>
Date: 2018-01-31 11:00:14
Also in:
kvm, kvmarm
Hi Drew, On Wed, Jan 31, 2018 at 11:54 AM, Andrew Jones [off-list ref] wrote:
On Wed, Jan 31, 2018 at 10:34:40AM +0100, Christoffer Dall wrote:quoted
From: Andrew Jones <redacted> Since commit 93390c0a1b20 ("arm64: KVM: Hide unsupported AArch64 CPU features from guests") we can hide cpu features from guests. Apply this to a long standing issue where guests see a PMU available, but it's not, because it was not enabled by KVM's userspace. Signed-off-by: Andrew Jones <redacted> Signed-off-by: Christoffer Dall <redacted> --- arch/arm64/kvm/sys_regs.c | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-)I think this patch got into the PULL by mistake, because you pointed out to me a while back that it broke migration.
Patch 12 reverts the patch - I didn't feel like rebasing next with all the other things that are going on for this merge window. Thanks, -Christoffer