aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2021-10-11 10:33:26 -1000
committerPaul Spooren <mail@aparcar.org>2021-10-12 19:22:19 -1000
commite07cc4699127d882f619c978c215bf2a762b61fa (patch)
tree9eb02f0f5993bf13ebf465110b0eda0ba1a0e568 /target/linux
parent4056a40160fbd2f42d0a83f0aed6c2687a6dfa1f (diff)
downloadupstream-e07cc4699127d882f619c978c215bf2a762b61fa.tar.gz
upstream-e07cc4699127d882f619c978c215bf2a762b61fa.tar.bz2
upstream-e07cc4699127d882f619c978c215bf2a762b61fa.zip
x86/64: enable MMIO_CMDLINE_DEVICES for firecracker support
This Kernel option allows to run OpenWrt witin a `firecracker` micro VM. Firecracker is a KVM-based tool for superfast booting VMs on x86_64 and aarch64. It makes rootfs available to the guest as a virtio-mmio device and passes its address via the kernel cmdline. A kernel without CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES will not recognize the rootfs virtio-mmio device. Suggested-by: Packet Please <pktpls@systemli.org> Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/x86/64/config-5.101
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/x86/64/config-5.10 b/target/linux/x86/64/config-5.10
index 4e979136a5..a62e5a795a 100644
--- a/target/linux/x86/64/config-5.10
+++ b/target/linux/x86/64/config-5.10
@@ -416,6 +416,7 @@ CONFIG_VIRTIO_BLK=y
CONFIG_VIRTIO_CONSOLE=y
CONFIG_VIRTIO_DMA_SHARED_BUFFER=y
CONFIG_VIRTIO_MMIO=y
+CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
CONFIG_VIRTIO_NET=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_LEGACY=y