xcp-ng / xcp

Entry point for issues and wiki. Also contains some scripts and sources.
https://xcp-ng.org
1.25k stars 74 forks source link

q35 support in Xen #435

Open olivierlambert opened 3 years ago

olivierlambert commented 3 years ago

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/

image(1)

tklengyel commented 3 years ago

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

beshleman commented 3 years ago

Awesome, thanks for the reference to the patchset Tamas