On 2011-09-28 20:01, Blue Swirl wrote:
On Wed, Sep 28, 2011 at 11:00 AM, Jan Kiszka<jan.kis...@siemens.com> wrote:
As we clearly modify the PIC state on pic_reset, we also have to update
the IRQ output. This only happened on init so far. Apply this
consistently.
Nack, IRQ lines shouldn't be touched on reset. The other side may not
be ready for receiving the interrupt change and qemu_irqs are
stateless anyway.
Sorry, but failing to clear the line (this is what pic_update_irq will
effectively do) is a clear bug in the current code. This patch is 100%
analogue to what, e.g. the PCI layer does on reset. Please re-read.
Jan