-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
nixos/xen: refactor dom0 configuration #324911
base: master
Are you sure you want to change the base?
Conversation
5983d41
to
2a8bdec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels very intrusive to the systemd-boot-builder
codebase to me, which will create maintenance burden. I've never worked with Xen, could you explain why this is necessary? Is it not possible to do the modification to the xen.cfg file at build time, like on the file passed to extraFiles?
This comment was marked as outdated.
This comment was marked as outdated.
1327508
to
b7b29a5
Compare
Removed instances of |
b7b29a5
to
6e9b9b8
Compare
6e9b9b8
to
a5f3491
Compare
a5f3491
to
c6ae504
Compare
I had some time, so I added more options to configure oxenstored.conf. The options haven't changed in a decade, so I think it's alright to skip building a new config generator for oxenstored.conf's custom syntax, and just use
|
c6ae504
to
eba7bc4
Compare
This comment was marked as outdated.
This comment was marked as outdated.
95ecd4e
to
a03f9f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad to see Xen is now working in NixOS, can't wait for further progress with Qubes ecosystem here.
Was surprised it suspends correctly on my laptop, unlike QubesOS.
Other than libvirt stuff everything seems to work perfectly fine on couple of test machines.
b641cd1
to
09013e4
Compare
One minor thing that I've noticed: Plymouth is broken when booting in Xen. I doubt it's worth the trouble to investigate, as Xen is mostly used on servers and I don't think desktop users of Xen will care too much about Plymouth. Still, if anyone has any idea why Plymouth doesn't show up, let me know! |
Plymouth works for me on intel xe graphics laptop but has a lot more flickering. Probably modesetting/xen video mode related? |
Hmm, it seems like it doesn't work with the Oddly enough, when booting Xen wasn't working, the parameter would still fix the resolution, and booting into NixOS normally after trying a failing Xen entry would load plymouth with the 2560x1080 resolution instead of the usual 640x480. |
09013e4
to
f38e51a
Compare
So, I think this is as ready as it can be, BUT there is one related comment in an unrelated issue that stated that |
I can't reproduce it either. I did a quick test on this, starting from 4.16 and then updating it all the way to 4.19 without rebooting. In my tests,
Nothing is failed however, including
|
I'll consider that issue resolved then. |
f38e51a
to
ab31998
Compare
Rebased to resolve merge conflicts in the current |
ab31998
to
7bb7e80
Compare
Once more, just a rebase to fix the merge conflicts in the release notes. Would appreciate a final review/merge before the 24.11 freeze. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven’t done an in‐depth review but it looks basically good to me. A few comments; not sure if I feel qualified to hit the merge button on this unilaterally. (FWIW there’s a month still until feature freeze.)
7bb7e80
to
6a2cb80
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I like the separate file much more :)
Please ping me if nobody else has given this a proper review in ~a week and I’ll try my best.
6a2cb80
to
8be0f48
Compare
- Cleans up downstream systemd units in favour of using upstream units. - Xen 4.18 on Nixpkgs now supports EFI booting, so we have an EFI boot builder here that runs after systemd-boot-builder.py. - Add more options for setting up dom0 resource limits. - Adds options for the declarative configuration of oxenstored. - Disables the automatic bridge configuration, as it was broken. Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
It seems flaky on some machines, and I don't have the manpower to keep supporting a platform that's on its way to being deprecated. We don't actually remove the code from the GRUB Boot Builder because I'm terribly scared of breaking that already fragile, unmaintained script. Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
8be0f48
to
60fdba9
Compare
Description of changes
Requires #324693.
Things done
NixOS/xen
yet.Closes #129780, closes #127404.
Add a 👍 reaction to pull requests you find important.