pci: deassert intx on reset.
commit4c92325b5196ebd34886174a80d2f9fac35a004f
authorIsaku Yamahata <yamahata@valinux.co.jp>
Thu, 20 Jan 2011 07:21:38 +0000 (20 16:21 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 20 Jan 2011 13:33:05 +0000 (20 15:33 +0200)
tree573ee0ee5eadb2aab5af35f4231e6943bbca1b9d
parent2991181aaa026d8b1444bfaa9c4bcd82065ba5a3
pci: deassert intx on reset.

deassert intx on device reset.
So far pci_device_reset() is used for system reset.
In that case, interrupt controller is reset at the same time so that
all irq is are deasserted.
But now pci bus reset/flr is supported, and in that case irq needs to be
disabled explicitly.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci.c
hw/pci.h