pcie_aer: expose pcie_aer_msg() interface
commit40f8f0c31b6009e802175463c97f3b9e6f7c5d0f
authorChen Fan <chen.fan.fnst@cn.fujitsu.com>
Fri, 19 Feb 2016 16:42:28 +0000 (19 09:42 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 19 Feb 2016 16:42:28 +0000 (19 09:42 -0700)
treed206647ec62eec92c79af75cf3228b2fe53de97e
parent8d86ada2a7a2fe6d9f4209e042d2c5785fa5e0c1
pcie_aer: expose pcie_aer_msg() interface

For vfio device, we need to propagate the aer error to
Guest OS. we use the pcie_aer_msg() to send aer error
to guest.

Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/pci/pcie_aer.c
include/hw/pci/pcie_aer.h