Repository navigation
Conversation
ginglis13
force-pushed
the
add-kernel-6.18-microvm
branch
3 times, most recently
from
October 8, 2026 22:05
eda0c66 to
5703d82
Compare
Contributor
Author
|
^ force pushes have been commitlint fixes, bringing SRPM up to latest to match |
ginglis13
force-pushed
the
add-kernel-6.18-microvm
branch
from
October 9, 2026 02:22
5703d82 to
1120c6d
Compare
Introduce a kernel-6.18-shared-configs package that ships the base
Bottlerocket kernel configuration fragments (config-bottlerocket and
its per-architecture variants) and installs them into the build
sysroot.
Every 6.18-based kernel can then consume these fragments at build time
via a BuildRequires rather than carrying its own copy. Convert
kernel-6.18 to pull them from the shared package: drop its local
config-bottlerocket{,-x86_64,-aarch64} sources, add the build
dependency, and merge the fragments from %{kernel_configdir} in %prep.
Signed-off-by: Gavin Inglis <giinglis@amazon.com>
add a new flavor of the 6.18 kernel to support booting microvms such as Firecracker. This flavor reuses the same source, patches and Bottlerocket config fragments as kernel-6.18, adds config-microvm to build the virtio transport, network and vsock drivers in, and ships bzImage or vmlinuz.efi depending on architecture Include a new config-microvm for setting configuration options specific to guests so a microvm guest can boot a minimal virtio device model. Signed-off-by: Gavin Inglis <giinglis@amazon.com>
ginglis13
force-pushed
the
add-kernel-6.18-microvm
branch
from
October 9, 2026 02:33
1120c6d to
e748a6a
Compare
Contributor
Author
|
^ force pushes extract out the shared custom kconfigs to a new package, |
latest-kernel-full-config.sh reconstructed each package directory from the SRPM's majorminor version (6.18.51 -> 6.18), so two packages that share a majorminor (kernel-6.18 and kernel-6.18-microvm) could not be told apart and the microvm flavor never got its own configuration generated. Pass the actual package directory through merge/validate instead. Signed-off-by: Gavin Inglis <giinglis@amazon.com>
ginglis13
force-pushed
the
add-kernel-6.18-microvm
branch
from
October 9, 2026 02:38
e748a6a to
4544a11
Compare
Contributor
Author
|
^ fix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description of changes:
Add
kernel-6.18-microvmto the kernel-kit.kernel-6.18-microvmis a flavor ofkernel-6.18with a config overlay so a microvm guest can boot a minimal virtio device model.CONFIG_VIRTIO_MMIO=y,CONFIG_VIRTIO_BLK=y, vsock, dm-verity, erofs, serial are built in.kernel-6.18ships neuron/EFA/GPU/full module set;kernel-6.18-microvmstrips much of that.The source RPM and custom patches are identical to
kernel-6.18. These changes also include updates to the config generation for this new kernel package, including diff checks to ensure the 6.18 specific configs don't drift between this new package andkernel-6.18.For an annotated diff of this new
kernel-6.18-microvmvs.kernel-6.18, see https://gist.github.com/ginglis13/6298e4c5a8c2451cabf5059bc2f3b718Testing done:
See full details of a boot test on x86 and arm via firecracker in this gist: https://gist.github.com/ginglis13/23f052d87050a0e0b4f3e1f3e1b179e5
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.