x86/64: enable MMIO_CMDLINE_DEVICES for firecracker support
authorPaul Spooren <[email protected]>
Mon, 11 Oct 2021 20:33:26 +0000 (10:33 -1000)
committerPaul Spooren <[email protected]>
Wed, 13 Oct 2021 05:22:19 +0000 (19:22 -1000)
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 <[email protected]>
Signed-off-by: Paul Spooren <[email protected]>
target/linux/x86/64/config-5.10

index 4e979136a525c0f5ad6d8545778895035c5341ef..a62e5a795a5ba9dca52eeba1dd7db9195c791cec 100644 (file)
@@ -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