On 3/7/22 03:43, Philippe Mathieu-Daudé wrote:
From: Bernhard Beschow<shen...@gmail.com>

Based on commit e735b55a8c11dd455e31ccd4420e6c9485191d0c:

   piix_pci: eliminate PIIX3State::pci_irq_levels

   PIIX3State::pci_irq_levels are redundant which is already tracked by
   PCIBus layer. So eliminate them.

The IRQ levels in the PCIBus layer are already preserved during
migration. By reusing them and rather than having a redundant implementation
the bug is avoided in the first place.

Suggested-by: Peter Maydell<peter.mayd...@linaro.org>
Signed-off-by: Bernhard Beschow<shen...@gmail.com>
Reviewed-by: Peter Maydell<peter.mayd...@linaro.org>
Message-Id:<20220217101924.15347-2-shen...@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé<f4...@amsat.org>
---
  hw/mips/gt64xxx_pci.c | 7 ++-----
  1 file changed, 2 insertions(+), 5 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to