aboutsummaryrefslogtreecommitdiff
path: root/python/qemu/utils/accel.py
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2025-03-17 14:01:25 +1000
committerNicholas Piggin <npiggin@gmail.com>2025-03-20 19:58:10 +1000
commitce5a32d18054fe468e3536f0a63026d5b196057b (patch)
treeab73739530568354bd80da9b69d52ba9ceab58c9 /python/qemu/utils/accel.py
parent965797d19a0d0b5dbe73f1afa110576589d25003 (diff)
downloadqemu-ce5a32d18054fe468e3536f0a63026d5b196057b.zip
qemu-ce5a32d18054fe468e3536f0a63026d5b196057b.tar.gz
qemu-ce5a32d18054fe468e3536f0a63026d5b196057b.tar.bz2
ppc/pnv: Move the PNOR LPC address into struct PnvPnor
Rather than use the hardcoded define throughout the tree for the PNOR LPC address, keep it within the PnvPnor object. This should solve a dead code issue in the BMC HIOMAP checks where Coverity (correctly) reported that the sanity checks are dead code. We would like to keep the sanity checks without turning them into a compile time assert in case we would like to make them configurable in future. Fixes: 4c84a0a4a6e5 ("ppc/pnv: Add a PNOR address and size sanity checks") Resolves: Coverity CID 1593723 Reviewed-by: Cédric Le Goater <clg@redhat.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'python/qemu/utils/accel.py')
0 files changed, 0 insertions, 0 deletions