[Qemu-devel] [PATCH 2/4] pci: clean up resetting of IRQs

2013-12-06 Thread Paolo Bonzini
pci_device_reset will deassert the INTX pins, and this will make the irq_count array all-zeroes. Check that this is the case, and remove the existing loop which might even unsync irq_count and irq_state. Signed-off-by: Paolo Bonzini --- hw/pci/pci.c |7 --- 1 files changed, 4 insertions

[Qemu-devel] [PATCH 2/4] pci: clean up resetting of IRQs

2013-10-03 Thread Paolo Bonzini
pci_device_reset will deassert the INTX pins, and this will make the irq_count array all-zeroes. Check that this is the case, and remove the existing loop which might even unsync irq_count and irq_state. Signed-off-by: Paolo Bonzini --- hw/pci/pci.c |7 --- 1 files changed, 4 insertions