-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
Remove Xen vga driver hacks #227
Comments
@osresearch : It is unclear to me if
That would provide the That would greatly reduce the need from users to update Heads firmware as often as they need now, following Qubes security patches. @flammit 's new UX would see a boot config change, could provide boot menu(m) as a result and prompt the user with a choice to set new default or boot actual config (y) since the stored and signed boot config is different then the one genrated on the fly from what was found on disk. The user would only need to resign config changes with it's OpenGnuPG card and set new config defaults, which would link to newly patched xen, kernel and initrd provided by Qubes recent security upgrade. That, combined with #182 would suppress most actual needs of upgrading Heads, confining those upgrades to when Heads fixes it's own security bugs or add functionality. @osresearch : Any link to discussions that justified upstream rejection of Thanks. |
It would be ideal to be able to boot stock Qubes' Xen, so this is worth tracking down. Here is the xen-devel thread about the patch: https://lists.xenproject.org/archives/html/xen-devel/2016-08/msg01195.html |
Andrew Cooper seemed interested in merging it:
|
Upstreaming for the win :) Andrew seems to only wait for input from that thread. |
Modified this line with: @osresearch : Could you reply back to Andrew on the list so that he knows where he can get the current patches from? That would be a great advancement to heads for this patch be be upstreamed. |
This is too important to close with |
Interestingly, it turns out that this is not a corebot or Heads bug! One possible patch is this monstrosity. Thoughts?
|
…227) This modifies the segment at 0x0 so that it contains enough of a fake Extended BIOS Data Area at addresses 0x40e and 0x413 that Xen can correctly locate its trampoline code. Since custom Xen is no longer required, we can remove the module, the patches and all of the references to it in the board definition files.
I'm hoping that the change to |
…om xen (linuxboot#227)" This reverts commit f618f09.
- dm-verity related instruction stripped (see linuxboot/heads-wiki#26) - stripped Xen parts saying it needed to be patched. Was resolved by patching kexec instead of Xen (#227 (comment)) - Added a link to heads-wiki for documentation needs
Xen supports
vga=current
as a command line option, which appears to work in the absence of any hacks on thexen/drivers/video/vga.c
file. This would simplify our porting to just theno-real-mode
patches.The text was updated successfully, but these errors were encountered: