Re: [Qemu-devel] [PATCH 1/3] target/arm: fix crash on pmu register access

2019-03-26 Thread Aaron Lindsay OS
On Mar 22 17:23, Andrew Jones wrote: > Fix a QEMU NULL derefence that occurs when the guest attempts to > enable PMU counters with a non-v8 cpu model or a v8 cpu model > which has not configured a PMU. > > Fixes: 4e7beb0cc0f3 ("target/arm: Add a timer to predict PMU counter > overflow") > Signed-

[Qemu-devel] [PATCH 1/3] target/arm: fix crash on pmu register access

2019-03-22 Thread Andrew Jones
Fix a QEMU NULL derefence that occurs when the guest attempts to enable PMU counters with a non-v8 cpu model or a v8 cpu model which has not configured a PMU. Fixes: 4e7beb0cc0f3 ("target/arm: Add a timer to predict PMU counter overflow") Signed-off-by: Andrew Jones --- target/arm/helper.c | 4 +