-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new xen option fails to work #350051
Comments
Hi there! Thank you for your interest in the Xen hypervisor. The logs seem to indicate you have not booted into a Xen kernel. You've mentioned you're using Lanzaboote; are you also using this experimental PR that implements Xen support for Lanzaboote? That PR should be considered unstable at this point; for the best experience, try switching to Note: While we say "kernel" here, a Xen "kernel" is different from the kernels you set in |
@SigmaSquadron thanks for the (very) quick reply! I didn't know it was different, nor did I know |
I've got my system running with Unfortunately it seems my system (framework 13 inch 11th gen) is quite unstable with |
Not much we can do about that, unfortunately. Xen is notoriously picky when it comes to hardware compatibility. You may want to report this to upstream Xen. |
Qubes branch has many compatibility fixes as part of qubes-vmm-xen package, it might make sense to use xen from this package on laptop, even if not using qubes itself. Your issue, however, sounds like something to be fixed by "cpufreq=xen:hwp=off" kernel cmdline argument (As per workaround from qubes-issues) |
Thanks for the pointer. I went down the rabbit hole with qubes-issues and tried your option (where xen complains about non knowing the option |
welcome to xen on non-server hardware :) I'll try to get #341429 in a mergeable state soon. |
Yeah I know. Thanks for all you work towards xen and qubes! I used qubes extensively before and really look forward to playing with it in combination with nixos :-) |
Describe the bug
virtualisation.xen.enable = true
does not enable xen.Steps To Reproduce
Steps to reproduce the behavior:
virtualisation.xen.enable = true;
to the configExpected behavior
xl list
orxl info
(or any otherxl
command) should work, no errors should show in the boot logScreenshots
Additional context
xl info
returnsBoot log shows:
My config includes
lanzaboote
,zfs
andimpermanence
configs. My kernel is thepkgs.linuxPackages
one. MykernelParams
are[ "boot.shell_on_fail" "mem_sleep_default=deep" "nvme.noacpi=1" ];
/proc/xen
does not exist.Should I have done something different? Is there a specific kernel I should have used?
Notify maintainers
@NixOS/xen-project
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: