pci/aer: factor out common code
commit513691b7ff20262efe9aafb85c8dd4615588ad48
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 8 Dec 2010 08:46:28 +0000 (8 17:46 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 9 Dec 2010 10:48:31 +0000 (9 12:48 +0200)
tree3d8ced30209ae066638ae8b5a2f1f626bf4b12e5
parent5f47c187d992d5147397ddd5323c732d3d39cb8f
pci/aer: factor out common code

Same logic is used to assert interrupts
and send msix messages, so add a static functin for this.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pcie_aer.c