Support PCI passthrough in Xen. Add enca package.#93
Conversation
This reverts commit af32fd6.
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.
|
Why is the xen revert needed? |
|
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. |
Support PCI passthrough in Xen. Add enca package. Revert of Xen version from 4.1.2 to 4.0.3.
Implementation: services.xserver.driSupport32Bits: Intel support via mesa (NixOS#92)
Add the lounge web client entry
No description provided.