[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v5 0/2] Containing AER unrecoverable errors



On Tue, Mar 13, 2018 at 01:43:39PM -0500, Venu Busireddy wrote:
> This patch set is part of a set of patches that together allow containment
> of unrecoverable AER errors from PCIe devices assigned to guests in
> passthrough mode. The containment is achieved by forcibly removing the
> erring PCIe device from the guest.
> 
> The original xen-pciback patch corresponding to this patch set is:
> https://lists.xen.org/archives/html/xen-devel/2017-06/msg03274.html.
> It will be reposted after this patch set is accepted.
> 
> Changes in v5:
>   * v4 worked only in the case of guests created using 'xl' command.
>     Enhanced the fix to work for guests created using libvirt too.

Are there any libvirt patches for this?
> 
> Changes in v4:
>   * Made the following changes suggested by Wei Liu.
>     - Combine multiple LIBXL_HAVE_* definitions into one.
>     - Use libxl__calloc() instead of malloc().
> 
> Changes in v3:
>   * Made the following changes suggested by Wei Liu.
>     - Added LIBXL_HAVE macros to libxl.h.
>     - Don't hard-code dom0's domid to 0. Instead, use libxl__get_domid().
>     - Corrected comments.
>   * Made the following changes based on comments from Ian Jackson.
>     - Got rid of the global variable aer_watch.
>     - Added documentation (comments in code) for the new API calls.
>     - Removed the unnecessary writes to xenstore.
> 
> Changes in v2:
>   - Instead of killing the guest and hiding the device, forcibly remove
>     the device from the guest.
> 
> Venu Busireddy (2):
>   libxl: Implement the handler to handle unrecoverable AER errors
>   xl: Register the AER event handler that handles AER errors
> 
>  tools/libxl/libxl.h          |   7 +++
>  tools/libxl/libxl_create.c   |  11 +++-
>  tools/libxl/libxl_domain.c   |   1 +
>  tools/libxl/libxl_event.h    |   7 +++
>  tools/libxl/libxl_internal.h |   8 +++
>  tools/libxl/libxl_pci.c      | 123 
> +++++++++++++++++++++++++++++++++++++++++++
>  tools/xl/xl_vmcontrol.c      |  14 ++++-
>  7 files changed, 168 insertions(+), 3 deletions(-)
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.