Merge "SPEC-2376: Add virtio configs for QEMU arm/arm64 kernels"
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 28 May 2019 10:59:18 +0000 (10:59 +0000)
committerGerrit Code Review <gerrit@automotivelinux.org>
Tue, 28 May 2019 10:59:18 +0000 (10:59 +0000)
meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto/virtio.cfg [new file with mode: 0644]
meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto_%.bbappend

diff --git a/meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto/virtio.cfg b/meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto/virtio.cfg
new file mode 100644 (file)
index 0000000..9bdc2c6
--- /dev/null
@@ -0,0 +1,4 @@
+# qemu need a virtio storage for rootfs
+CONFIG_BLK_MQ_VIRTIO=y
+CONFIG_VIRTIO=y
+CONFIG_VIRTIO_BLK=y
index bfb0d32..d8a5839 100644 (file)
@@ -2,6 +2,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto:"
 
 # Extra configuration options for the QEMU kernel
 SRC_URI += "file://hciattach.cfg \
+           file://virtio.cfg \
             "
 
 # Enable some things on qemuarm64 so MOST drivers will build and load.