Re: [PATCH] arm64: KVM: Hide PMU from guests when disabled

2018-01-08 Thread Christoffer Dall
On Mon, Jan 08, 2018 at 03:56:29PM +0100, Andrew Jones wrote: > On Mon, Jan 08, 2018 at 03:18:15PM +0100, Christoffer Dall wrote: > > Hi Drew, > > > > On Sat, Nov 25, 2017 at 06:40:31PM +0100, Andrew Jones wrote: > > > Since commit 93390c0a1b20 ("arm64: KVM: Hide unsupported AArch64 CPU > > > feat

Re: [PATCH] arm64: KVM: Hide PMU from guests when disabled

2018-01-08 Thread Andrew Jones
On Mon, Jan 08, 2018 at 03:18:15PM +0100, Christoffer Dall wrote: > Hi Drew, > > On Sat, Nov 25, 2017 at 06:40:31PM +0100, Andrew Jones wrote: > > Since commit 93390c0a1b20 ("arm64: KVM: Hide unsupported AArch64 CPU > > features from guests") we can hide cpu features from guests. Apply > > this to

Re: [PATCH] arm64: KVM: Hide PMU from guests when disabled

2018-01-08 Thread Christoffer Dall
Hi Drew, On Sat, Nov 25, 2017 at 06:40:31PM +0100, Andrew Jones wrote: > 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, becau

Re: [PATCH] arm64: KVM: Hide PMU from guests when disabled

2017-11-29 Thread Christoffer Dall
On Sat, Nov 25, 2017 at 06:40:31PM +0100, Andrew Jones wrote: > 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

[PATCH] arm64: KVM: Hide PMU from guests when disabled

2017-11-25 Thread Andrew Jones
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 --- arc