summary refs log tree commit diff stats
path: root/scripts/qapi/expr.py
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2022-01-28 13:15:03 +0100
committerCédric Le Goater <clg@kaod.org>2022-01-28 13:15:03 +0100
commit63f38cc3d228a0886b544e9a069b922b4416d29d (patch)
tree719b546cd7fb871a83ec6e10acb163175735abd2 /scripts/qapi/expr.py
parent1977434bbfbdd97d28c2fea071ea00bf4ecd0079 (diff)
downloadfocaccia-qemu-63f38cc3d228a0886b544e9a069b922b4416d29d.tar.gz
focaccia-qemu-63f38cc3d228a0886b544e9a069b922b4416d29d.zip
target/ppc: Fix test on mmu_model in hreg_compute_hflags_value()
POWERPC_MMU_BOOKE is not a mask and should not be tested with a
bitwise AND operator.

It went unnoticed because it only impacts the 601 CPU implementation
for which we don't have a known firmware image.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20220124081609.3672341-1-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions