neonvm-kernel: reduce difference between configs #1248
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Take amd64 config, drop all x86,intel or amd related options. Add minimum set of variables required to build and boot on arm.
Diff is impossible to read, because it is 5k lines of dropped arm kernel config.
However, actual changes are the following:
Absolute minimum I see as required:
CONFIG_ARM, CONFIG_ARM_VIRT, CONFIG_ARCH_VIRT are generic options to specify we run on ARM in QEMU.
CONFIG_PCI_ECAM, CONFIG_PCI_HOST_GENERIC, CONFIG_SERIAL_AMBA_PL011, CONFIG_SERIAL_AMBA_PL011_CONSOLE are required to have serial port available.
-CONFIG_ARM_GIC support for interruptions.
The rest is either to be on pair with amd config or I found them useful potentially with large computers or they were mentioned in different sources as nice to have with qemu based emulation.
Based on top of the #1141 to trigger test run, both PRs are required for the e2e tests on arm.
#1196
This
877293b
(#1248) commit has kernel related changes.