Skip to content

feat(pci): enable PCI for guests#15

Open
bchalios wants to merge 1 commit intomainfrom
feat_pci
Open

feat(pci): enable PCI for guests#15
bchalios wants to merge 1 commit intomainfrom
feat_pci

Conversation

@bchalios
Copy link
Copy Markdown

@bchalios bchalios commented Mar 9, 2026

Add kernel configuration for enabling PCI support in microVMs. Configuration is taken from here:
https://github.com/firecracker-microvm/firecracker/blob/firecracker-v1.14/resources/guest_configs/pcie.config

Also, release this as a new (patch) kernel version so that we make deployment cleaner.


Note

Medium Risk
Medium risk because it introduces new kernel configuration baselines (including PCI enablement) and the x86_64 config appears to be placed outside the expected configs/x86_64/ path, which could break builds or select the wrong config.

Overview
Adds new Linux 6.1.163 kernel config baselines for guests, with PCI support enabled for Firecracker microVMs (plus related options like CONFIG_VIRTIO_PCI, CONFIG_PCI_MSI, CONFIG_PCIEPORTBUS).

Introduces configs/arm64/6.1.163.config and a new x86_64 6.1.163 config file, but the x86_64 config is added as configs/6.1.163.config rather than under configs/x86_64/, which may not match the build script’s expected layout.

Written by Cursor Bugbot for commit 50b7636. This will update automatically on new commits. Configure here.

@bchalios bchalios force-pushed the feat_pci branch 2 times, most recently from a824f8c to f1fc9e2 Compare March 9, 2026 13:59
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@bchalios bchalios force-pushed the feat_pci branch 2 times, most recently from 50b7636 to 893c4f4 Compare March 13, 2026 11:00
Add kernel configuration for enabling PCI support in microVMs.
Configuration is taken from here:
https://github.com/firecracker-microvm/firecracker/blob/firecracker-v1.14/resources/guest_configs/pcie.config

Also, release this as a new (patch) kernel version so that we make
deployment cleaner.

Signed-off-by: Babis Chalios <babis.chalios@e2b.dev>
@cursor
Copy link
Copy Markdown

cursor bot commented Mar 30, 2026

PR Summary

Medium Risk
Kernel config changes can alter guest boot/runtime behavior and device compatibility, especially around PCI/virtio and IOMMU settings. Risk is moderate since the change is configuration-only but affects low-level platform capabilities.

Overview
Introduces new autogenerated kernel configuration files for 6.1.163-1.182.amzn2023 on x86_64 and arm64.

The configs explicitly enable PCI support for Firecracker microVMs (e.g., CONFIG_PCI, CONFIG_PCIEPORTBUS, CONFIG_VIRTIO_PCI, and related options), allowing guests to use PCI-backed virtio devices.

Written by Cursor Bugbot for commit 8a2885a. This will update automatically on new commits. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant