Skip to content

Support PCI passthrough in Xen. Add enca package.#93

Merged
rbvermaa merged 3 commits intoNixOS:masterfrom
oxij:master
Sep 2, 2012
Merged

Support PCI passthrough in Xen. Add enca package.#93
rbvermaa merged 3 commits intoNixOS:masterfrom
oxij:master

Conversation

@oxij
Copy link
Member

@oxij oxij commented Aug 8, 2012

No description provided.

oxij added 3 commits August 8, 2012 02:30
Previous commit reverted Xen back to 4.0.3 because xend from 4.1.* and newer
hangs for unknown reasons.
The new "xl" toolstack from 4.1.* and unstable works, yet PCI passthrough is not
supported by xl in 4.1.* and is broken in the unstable.

With this patch I was able to passthrough ATI Radeon HD 6950 without 3D
acceleration, though, to both Linux and Windows guests. Which is the best
archived result with Xen PCI passthrough on NixOS after trying out all possible
Xen versions.
Same VGA card works fine if passed through into a guest with KVM (acceleration,
GPGPU, everything works). I should have tried KVM from the start.
@shlevy
Copy link
Member

shlevy commented Aug 8, 2012

Why is the xen revert needed?

@oxij
Copy link
Member Author

oxij commented Aug 8, 2012

When I sent the reverted patch to nix-dev I explicitly said it's untested and 4.1 hangs for unknown reasons. Nothing has changed since then.

xend forks on start and one half tries to communicate with the other through a pipe, but starting from 4.1 that other part dies for unknown reasons. It almost always dies when called from upstart rule generated by nixos, it is still possible to start it once by hand (usually), yet a successful restart is impossible. I tried to debug this, but quickly gave up because PCI passthrough didn't work for my VGA card even when xend from 4.1 started successfully.

So, the best Xen experience for now is 4.0.3 with a small ioemu fix attached here. Stable 4.2 with new "xl" toolstack should probably change this, but I'm sticking with KVM from now on for the reasons described in the corresponding commit message above.

rbvermaa added a commit that referenced this pull request Sep 2, 2012
Support PCI passthrough in Xen. Add enca package.

Revert of Xen version from 4.1.2 to 4.0.3.
@rbvermaa rbvermaa merged commit 7ea0160 into NixOS:master Sep 2, 2012
edolstra pushed a commit to edolstra/nixpkgs that referenced this pull request Oct 1, 2013
Implementation: services.xserver.driSupport32Bits: Intel support via mesa (NixOS#92)
@Janik-Haag Janik-Haag added the 12.first-time contribution This PR is the author's first one; please be gentle! label Jun 12, 2023
@SigmaSquadron SigmaSquadron added the 6.topic: xen-project Issues and PRs related to the Xen Project Hypervisor. label Sep 25, 2024
notklea pushed a commit to notklea/nixpkgs that referenced this pull request Dec 1, 2025
Add the lounge web client entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: xen-project Issues and PRs related to the Xen Project Hypervisor. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants