pcie_aer: support configurable AER capa version
commitf18c697b55d1374af67b84c581abaece8ab2aca3
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Wed, 21 Dec 2016 08:21:31 +0000 (21 16:21 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Jan 2017 05:02:52 +0000 (10 07:02 +0200)
tree06524ffe76e90ff8bc8b5571432ecf4a365e78fd
parent33848ceed79679b5c9e558b768447af2614b8db2
pcie_aer: support configurable AER capa version

Now, AER capa version is fixed to v2, if assigned device isn't v2,
then this value will be inconsistent between guest and host

Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/net/e1000e.c
hw/pci-bridge/ioh3420.c
hw/pci-bridge/xio3130_downstream.c
hw/pci-bridge/xio3130_upstream.c
hw/pci/pcie_aer.c
include/hw/pci/pcie_aer.h