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

Re: [Xen-devel] standalone PCI passthrough emulator


  • To: Paul Durrant <Paul.Durrant@xxxxxxxxxx>, "xen-devel (xen-devel@xxxxxxxxxxxxxxxxxxxx)" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
  • Date: Mon, 4 Mar 2019 03:01:27 +0000
  • Accept-language: en-US
  • Delivery-date: Mon, 04 Mar 2019 03:01:50 +0000
  • Dlp-product: dlpe-windows
  • Dlp-reaction: no-action
  • Dlp-version: 11.0.400.15
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AdTQS6Y1dv+fSL+5RJ244xB0pQGEGgB6q/Lw
  • Thread-topic: standalone PCI passthrough emulator

> From: Paul Durrant
> Sent: Saturday, March 2, 2019 12:41 AM
> 
> Hi,
> 
>   As the basis of some future development work I've put together a simple
> standalone emulator to pass through a single type 0 PCI function to a guest so
> I'm posting here in case anyone else would like a give it a try. So far I've 
> tested
> with AMD FirePro S7150 and NVIDIA K1 GPUs and a Windows 10 guest, so it
> hasn't had that much debugging.

How is it different from existing PCI passthrough support in Xen? What is
exactly emulated here?

> 
>   NOTE: there is a known issue where domains are left in zombie state on
> shutdown. This is likely due to Xen not properly cleaning up MSI mappings,
> but I'm not yet sure of that.
> 
>   Things that are missing:
> 
> - Decent error paths (it won't cope well if IO/memory mapping hypercalls fail)
> - MSI-X support
> - Extended config space
> 
>   Hopefully I'll start to address these soon :-)
> 


_______________________________________________
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®.