aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi-gen.py
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2018-09-25 14:02:29 +0100
committerPeter Maydell <peter.maydell@linaro.org>2018-09-25 14:02:29 +0100
commite79b445d896deb61909be52b61b87c98a9ed96f7 (patch)
treeb7b6a016e3ad5297809af3aeeb7de8fc8c046c04 /scripts/qapi-gen.py
parent506e4a00de01e0b29fa83db5cbbc3d154253b4ea (diff)
downloadqemu-e79b445d896deb61909be52b61b87c98a9ed96f7.zip
qemu-e79b445d896deb61909be52b61b87c98a9ed96f7.tar.gz
qemu-e79b445d896deb61909be52b61b87c98a9ed96f7.tar.bz2
target/arm: Fix cpu_get_tb_cpu_state() for non-SVE CPUs
Not only are the sve-related tb_flags fields unused when SVE is disabled, but not all of the cpu registers are initialized properly for computing same. This can corrupt other fields by ORing in -1, which might result in QEMU crashing. This bug was not present in 3.0, but this patch is cc'd to stable because adf92eab90e3f5f34c285 where the bug was introduced was marked for stable. Fixes: adf92eab90e3f5f34c285 Cc: qemu-stable@nongnu.org (3.0.1) Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/qapi-gen.py')
0 files changed, 0 insertions, 0 deletions