-
Notifications
You must be signed in to change notification settings - Fork 619
feat(qemu): disable Xen support #16462
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,10 @@ | ||||||
| [components.qemu] | ||||||
|
|
||||||
| # Disable Xen support — not applicable to Azure Linux's Hyper-V/KVM environment. | ||||||
| # The upstream spec enables Xen when %fedora is set (which it is on our builders), | ||||||
| # so we must explicitly override have_xen back to 0. | ||||||
| [[components.qemu.overlays]] | ||||||
| description = "Disable Xen support - not needed for Azure Linux (Hyper-V/KVM only)" | ||||||
| type = "spec-search-replace" | ||||||
| regex = '%global have_xen 1' | ||||||
|
||||||
| regex = '%global have_xen 1' | |
| regex = '^\s*%global\s+have_xen\s+1\s*$' |
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.
Did you look at whether we should be disabling
fedorafor this spec? What other features are we getting that we wouldn't if we looked more like RHEL?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 didn't for this one, but it is a good analysis that can be done. I did a similar evaluation on
edk2, but ended up going withfedora's version instead ofrhel's since there were some valuable parts that thefedoraedk2build (namely 4MB OVMF support and IGVM). I'll do a similar analysis forqemu