xcp icon indicating copy to clipboard operation
xcp copied to clipboard

q35 support in Xen

Open olivierlambert opened this issue 4 years ago • 2 comments

Patch Xen to emulate the Q35 chipset to enable PCIe/GPU passthrough.

Xen currently only emulates the i440 chipset. i440 does not support PCI extended configuration registers (image attached). This patch series would support emulating the Q35 chipset, allowing guests to use devices that require PCIe extended configuration registers.

One reason the original patchset was rejected because they assumed that there would only be one IOREQ server per VM, which is not a generalizable assumption because Xen does support more than one per VM. The discussion thread starts here: https://lore.kernel.org/xen-devel/62c7a3037bb9f5631542f635dc36ae3338c7bf47.1520867741.git.x1917x@gmail.com/

  • Q35 datasheet is here: https://www.intel.com/Assets/PDF/datasheet/316966.pdf
  • The ICH9 spec is also useful: https://www.intel.com/content/www/us/en/io/io-controller-hub-9-datasheet.html

image(1)

olivierlambert avatar Sep 09 '20 16:09 olivierlambert

Just for reference, the patchset on xen-devel is https://lists.xenproject.org/archives/html/xen-devel/2018-03/msg01176.html There was another patchset that implemented q35 support at https://github.com/OpenXT/xenclient-oe/pull/729

tklengyel avatar Sep 21 '20 23:09 tklengyel

Awesome, thanks for the reference to the patchset Tamas

beshleman avatar Sep 21 '20 23:09 beshleman