via-ide: ensure that PCI_INTERRUPT_LINE is hard-wired to its default value
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 13 Mar 2020 08:24:41 +0000 (08:24 +0000)
committerJohn Snow <jsnow@redhat.com>
Tue, 17 Mar 2020 01:08:21 +0000 (21:08 -0400)
commit3a514010aba088c9d5005b2e62048a61761a12d4
tree95ce7fefef95fbea69f6611029a671f5de5d94d5
parent7ff81d6357ad3ce31bc96f830b000bac37dafb41
via-ide: ensure that PCI_INTERRUPT_LINE is hard-wired to its default value

Some firmwares accidentally write to PCI_INTERRUPT_LINE on startup which has
no effect on real hardware since it is hard-wired to its default value, but
causes the guest OS to become confused trying to initialise IDE devices
when running under QEMU.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tested-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-id: 20200313082444.2439-5-mark.cave-ayland@ilande.co.uk
Signed-off-by: John Snow <jsnow@redhat.com>
hw/ide/via.c