NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.28k stars 13.54k forks source link

Xen doesn't work #129780

Open Kreyren opened 3 years ago

Kreyren commented 3 years ago

Issue description

I am unable to get xen working on my system following the advise from https://nixos.wiki/wiki/Virtualization_in_NixOS with and without:

boot.kernelModules = [ "kvm-intel" ];
virtualisation.libvirtd.enable = true;

Steps to reproduce

  1. Set virtualisation.xen.enable = true;
  2. Rebuild the system
  3. Reboot and expect failure to boot due to the kernel panic in domain0 (?)

Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[kreyren@leonid:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.43, NixOS, 21.05.961.1f91fd10406 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.12`
 - channels(root): `"nixos-21.05.961.1f91fd10406"`
 - channels(kreyren): `"home-manager-21.05, master, nixos-21.05.1226.f77036342e2"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

image

Kreyren commented 3 years ago

CC @edolstra @oxij

oxij commented 3 years ago

I haven't been using Xen for a while now so I have no idea if it's broken now.

But AFAIK you can't use both Xen and KVM together, so your config shouldn't work in any case.

stale[bot] commented 2 years ago

I marked this as stale due to inactivity. → More info