On Sat, 18 Dec 2021 at 02:28, Richard Henderson <richard.hender...@linaro.org> wrote: > What I don't understand is how these controls get applied to qemu_irq after > vmload, here > or in any other device. It seems like we should have some post_load hook > that calls > timer_update_irq, etc.
Very late answer, but: we don't need to call qemu_set_irq() on qemu_irqs outbound from a device after a vmload, because IRQ lines themselves have no state. The device on the other end of the irq line also loads its own state, and typically that includes its internal variables which it uses to track whether its input lines are 0 or 1. -- PMM