aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2021-10-11 10:29:40 -1000
committerPaul Spooren <mail@aparcar.org>2021-10-12 19:22:08 -1000
commit4056a40160fbd2f42d0a83f0aed6c2687a6dfa1f (patch)
tree7eeeb03b33745c9f4abadb24584a552288f2231a /target
parent213ce1d837f5eb98d76ae159e2f0b70f6e6c2537 (diff)
downloadupstream-4056a40160fbd2f42d0a83f0aed6c2687a6dfa1f.tar.gz
upstream-4056a40160fbd2f42d0a83f0aed6c2687a6dfa1f.tar.bz2
upstream-4056a40160fbd2f42d0a83f0aed6c2687a6dfa1f.zip
armvirt: 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')
-rw-r--r--target/linux/armvirt/config-5.101
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/armvirt/config-5.10 b/target/linux/armvirt/config-5.10
index 5715a74195..74b6957d94 100644
--- a/target/linux/armvirt/config-5.10
+++ b/target/linux/armvirt/config-5.10
@@ -156,6 +156,7 @@ CONFIG_VIRTIO_BALLOON=y
CONFIG_VIRTIO_BLK=y
CONFIG_VIRTIO_CONSOLE=y
CONFIG_VIRTIO_MMIO=y
+CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
CONFIG_VIRTIO_NET=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_LEGACY=y