Add support for ARCH=um#337
Conversation
nickdesaulniers
left a comment
There was a problem hiding this comment.
if you remove the closes tag, then in a follow up, we can work on boot testing this?
|
Probably want to update some docs. Homepage and kernel docs? |
Sure, I can remove the closes tag. I don't think that we can boot test this with our current flow, as UML is a virtual machine within itself, so we would not use QEMU for testing. I'll look into that tomorrow. |
Right, I'm pretty sure it's just an ELF executable. You just run the image and pass it command line parameters. |
|
Yup, I have this working locally: I will wire this up into boot-utils shortly as |
5595c39 to
627cc21
Compare
|
Alright, this now depends on ClangBuiltLinux/boot-utils#59. Once that is good to go, I'll bump |
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Closes: ClangBuiltLinux#332 Signed-off-by: Nathan Chancellor <nathan@kernel.org>
627cc21 to
87dedc8
Compare
|
Alright, |
nickdesaulniers
left a comment
There was a problem hiding this comment.
nice work! consider dropping all the intermediary regen patches that just churn the dotfiles. 🛡️ 🚢
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
This will allow us to fetch the UML image for boot testing. Signed-off-by: Nathan Chancellor <nathan@kernel.org>
ARCH=um does not use QEMU for booting, as it is designed to run as a regular binary in user space. Use the newly created boot-uml.sh to allow us to test booting ARCH=um kernels in CI. Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
412a497 to
1003132
Compare
|
Thanks for the review as always! |
Now that
ARCH=umbuilds with clang, let's make sure it stays working!NOTE: This PR depends on this PR for mainline; once it is merged, this one can be too.