mbox series

[v2,0/2] hw/virtio-pci: AER capability

Message ID 20201005090140.90461-1-andrew@daynix.com
Headers show
Series hw/virtio-pci: AER capability | expand

Message

Andrew Melnychenko Oct. 5, 2020, 9:01 a.m. UTC
From: Andrew Melnychenko <andrew@daynix.com>

Now, AER capability for virtio-pci is disabled by default.
AER capability is only for PCI with PCIe interface on PCIe bus.
During migration - device "realize" should initialize AER
if requested by device properties.

Andrew (2):
  hw/virtio-pci Added counter for pcie capabilities offsets.
  hw/virtio-pci Added AER capability.

 hw/virtio/virtio-pci.c | 20 +++++++++++++++++++-
 hw/virtio/virtio-pci.h |  4 ++++
 2 files changed, 23 insertions(+), 1 deletion(-)

Comments

Michael S. Tsirkin Oct. 5, 2020, 10:09 a.m. UTC | #1
On Mon, Oct 05, 2020 at 12:01:38PM +0300, andrew@daynix.com wrote:
> From: Andrew Melnychenko <andrew@daynix.com>

> 

> Now, AER capability for virtio-pci is disabled by default.

> AER capability is only for PCI with PCIe interface on PCIe bus.

> During migration - device "realize" should initialize AER

> if requested by device properties.


Could you add motivation to individual patches please?

> Andrew (2):

>   hw/virtio-pci Added counter for pcie capabilities offsets.

>   hw/virtio-pci Added AER capability.

> 

>  hw/virtio/virtio-pci.c | 20 +++++++++++++++++++-

>  hw/virtio/virtio-pci.h |  4 ++++

>  2 files changed, 23 insertions(+), 1 deletion(-)

> 

> -- 

> 2.28.0