q35: Fix non-PCI IRQ processing in ich9_lpc_update_apic
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 14 Nov 2012 20:54:08 +0000 (15:54 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 26 Nov 2012 15:35:37 +0000 (09:35 -0600)
commit243b95111c8b8d171e627247a7de16e94c7e9de0
treec507e5c7b8aaf5c477e0ba4cfebd4b8082bb4df2
parent21bcfdd9a43041720f9370831c694bcb2e11eea4
q35: Fix non-PCI IRQ processing in ich9_lpc_update_apic

Avoid passing a non-PCI IRQ to ich9_gsi_to_pirq. It's wrong and triggers
an assertion.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/lpc_ich9.c