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