Skip to content

IGD Passthrough fixes for linux based stubdomains

Grzegorz Uriasz xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tools/libxl: Grant VGA IO port permission for stubdom/target domaintools/libxl/libxl_pci.c+73 -262 replies
2/3tools/libxl: Grant permission for mapping opregions to the target domaintools/libxl/libxl_pci.c+45 -11 reply
3/3tools/libxl: Directly map VBIOS to stubdomaintools/libxl/libxl_pci.c+10 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] IGD Passthrough fixes for linux based stubdomains

Hi,

The included patches are a small subset of a bigger patch set spanning few projects aiming to isolate the GPU in Qubes OS to a dedicated security domain. I'm doing this together with 3 colleagues as part of our Bachelors thesis.

Right now qemu assumes it runs in dom0 so it may grant access to required memory regions and ioports to the target domain for the IGD to work. This is no longer the case with linux based stubdomains as the stubdom is not privileged. Moving some logic from qemu to libxl is necessary for some features to work inside a stubdomain. The included patches were tested on a few laptops(together with the linked qemu patchset) and they work fine.

Grzegorz Uriasz (3):
tools/libxl: Grant VGA IO port permission for stubdom/target domain tools/libxl: Grant permission for mapping opregions to the target
domain
tools/libxl: Directly map VBIOS to stubdomain

 tools/libxl/libxl_pci.c | 153 +++++++++++++++++++++++++++++++++-------
 1 file changed, 127 insertions(+), 26 deletions(-)
Signature · 1 line
2.27.0