[PULL 01/28] arm64: KVM: Hide PMU from guests when disabled
From: Andrew Jones <hidden>
Date: 2018-01-31 10:54:31
Also in:
kvm, kvmarm
From: Andrew Jones <hidden>
Date: 2018-01-31 10:54:31
Also in:
kvm, kvmarm
On Wed, Jan 31, 2018 at 10:34:40AM +0100, Christoffer Dall wrote:
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(-)Hi Christoffer, I think this patch got into the PULL by mistake, because you pointed out to me a while back that it broke migration. Thanks for the reminder to go and try to fix it though! Thanks, drew