浏览代码

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 <[email protected]>
Signed-off-by: Paul Spooren <[email protected]>
Paul Spooren 4 年之前
父节点
当前提交
4056a40160
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      target/linux/armvirt/config-5.10

+ 1 - 0
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