Re: [PATCH v3] vfio error recovery: kernel support

2017-01-22 Thread Michael S. Tsirkin
On Sun, Jan 22, 2017 at 04:01:28PM +0800, Jason Wang wrote: > > > On 2017年01月22日 15:38, Michael S. Tsirkin wrote: > > diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h > > index 26c155b..6b0f416 100644 > > --- a/include/linux/virtio_config.h > > +++ b/include/linux/virtio

Re: [PATCH v3] vfio error recovery: kernel support

2017-01-22 Thread Jason Wang
On 2017年01月22日 15:38, Michael S. Tsirkin wrote: diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index 26c155b..6b0f416 100644 --- a/include/linux/virtio_config.h +++ b/include/linux/virtio_config.h @@ -159,7 +159,17 @@ static inline bool virtio_has_iommu_quirk(const s

[PATCH v3] vfio error recovery: kernel support

2017-01-21 Thread Michael S. Tsirkin
This is a design and an initial patch for kernel side for AER support in VFIO. 0. What happens now (PCIE AER only) Fatal errors cause a link reset. Non fatal errors don't. All errors stop the VM eventually, but not immediately because it's detected and reported asynchronously. Inter