unicorn/qemu/target
Richard Henderson 994038c817
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.

Backports commit e79b445d896deb61909be52b61b87c98a9ed96f7 from qemu
2018-09-25 21:17:32 -04:00
..
arm target/arm: Fix cpu_get_tb_cpu_state() for non-SVE CPUs 2018-09-25 21:17:32 -04:00
i386 eflags patch 2018-09-07 22:01:24 -04:00
m68k target/m68k: Fix initialization of m68k targets 2018-09-03 17:04:42 -04:00
mips target/mips/cpu: Use type_register instead of type_register_static() in mips_cpu_register_types() 2018-09-03 17:36:23 -04:00
sparc target/sparc: Fix SPARC target initialization 2018-09-03 17:26:00 -04:00