diff options
| author | Andrew Jones | 2019-03-25 15:16:47 +0100 |
|---|---|---|
| committer | Peter Maydell | 2019-03-25 15:16:47 +0100 |
| commit | cbbb3041fe2f57a475cef5d6b0ef836118aad106 (patch) | |
| tree | 195c73043388c64d878312bd6ccf5cc95b156e3e /python | |
| parent | target/arm: add PCI_TESTDEV back to default config (diff) | |
| download | qemu-cbbb3041fe2f57a475cef5d6b0ef836118aad106.tar.gz qemu-cbbb3041fe2f57a475cef5d6b0ef836118aad106.tar.xz qemu-cbbb3041fe2f57a475cef5d6b0ef836118aad106.zip | |
target/arm: fix crash on pmu register access
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 <drjones@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190322162333.17159-2-drjones@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
