Skip to content
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

xen-hypervisor: provide a debug=y build of Xen #9676

Open
royger opened this issue Dec 31, 2024 · 1 comment
Open

xen-hypervisor: provide a debug=y build of Xen #9676

royger opened this issue Dec 31, 2024 · 1 comment
Labels
C: Xen P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. pr submitted A pull request has been submitted for this issue. S: blocked Status: blocked. Work on this issue is currently blocked.

Comments

@royger
Copy link

royger commented Dec 31, 2024

The problem you're addressing (if any)

When attempting to debug a Xen issue it's common practice to ask the user to switch to a debug build of Xen (a Xen hypervisor built with CONFIG_DEBUG=y). Building such debug enabled hypervisor can be difficult for users, so it would be best to provide one in QubesOS.

The solution you'd like

Users should be able to switch to a debug build of Xen without having to resort to build it themselves. FreeBSD for example builds the hypervisor twice to create a debug=n and debug=y versions of Xen, and installs the later as xen-debug:

https://cgit.freebsd.org/ports/tree/emulators/xen-kernel/Makefile

The value to a user, and who that user might be

Make it easier to switch to debug build of Xen, and as a result provide more helpful information for debugging hypervisor issues.

Completion criteria checklist

@royger royger added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: enhancement labels Dec 31, 2024
@marmarek
Copy link
Member

Almost duplicate of #5989

Anyway, there is a PR implementing this already: QubesOS/qubes-vmm-xen#170. But it's blocked on bootloader ordering: QubesOS/qubes-vmm-xen#170 (comment)

@andrewdavidwong andrewdavidwong added C: Xen S: blocked Status: blocked. Work on this issue is currently blocked. pr submitted A pull request has been submitted for this issue. labels Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Xen P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. pr submitted A pull request has been submitted for this issue. S: blocked Status: blocked. Work on this issue is currently blocked.
Projects
None yet
Development

No branches or pull requests

3 participants