diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2015-10-22 10:18:38 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-27 07:24:28 +0000 |
commit | 304c95696e407c7171fab7eb4220336f9e17f9cf (patch) | |
tree | 39c63c6663825d107abcf43f3fb485a75d6b175d | |
parent | eebcbe19b73673292dd949aa2ab2265c19909878 (diff) | |
download | poky-304c95696e407c7171fab7eb4220336f9e17f9cf.tar.gz |
linux-yocto{, -rt}: Enable support for virtio drivers in qemu machines.
In order to use virtio devices as default in runqemu script
because these drivers are designed to use in vrit providing
better performance.
[YOCTO #8427]
(From OE-Core rev: 16dad3a6ccba01639b3a711426599af49c30a088)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb | 1 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb | 1 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_3.14.bb | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_3.19.bb | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_4.1.bb | 2 |
5 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb index 978dc18603..bfeabbec03 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb | |||
@@ -24,5 +24,6 @@ COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" | |||
24 | # Functionality flags | 24 | # Functionality flags |
25 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" | 25 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" |
26 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" | 26 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" |
27 | KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" | ||
27 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" | 28 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" |
28 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc" | 29 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc" |
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb b/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb index 91e054d9b5..4209a9640a 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb | |||
@@ -22,5 +22,6 @@ COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" | |||
22 | # Functionality flags | 22 | # Functionality flags |
23 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" | 23 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" |
24 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" | 24 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" |
25 | KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" | ||
25 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" | 26 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" |
26 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc" | 27 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc" |
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.14.bb b/meta/recipes-kernel/linux/linux-yocto_3.14.bb index 1bd7d2ab16..809789bd43 100644 --- a/meta/recipes-kernel/linux/linux-yocto_3.14.bb +++ b/meta/recipes-kernel/linux/linux-yocto_3.14.bb | |||
@@ -36,7 +36,7 @@ COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemu | |||
36 | # Functionality flags | 36 | # Functionality flags |
37 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" | 37 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" |
38 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" | 38 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" |
39 | KERNEL_FEATURES_append_qemuarm=" cfg/virtio.scc" | 39 | KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" |
40 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" | 40 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" |
41 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" | 41 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" |
42 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" | 42 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" |
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.19.bb b/meta/recipes-kernel/linux/linux-yocto_3.19.bb index 3c10bcb548..753e14d508 100644 --- a/meta/recipes-kernel/linux/linux-yocto_3.19.bb +++ b/meta/recipes-kernel/linux/linux-yocto_3.19.bb | |||
@@ -36,7 +36,7 @@ COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemu | |||
36 | # Functionality flags | 36 | # Functionality flags |
37 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" | 37 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" |
38 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" | 38 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" |
39 | KERNEL_FEATURES_append_qemuarm=" cfg/virtio.scc" | 39 | KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" |
40 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" | 40 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" |
41 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" | 41 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" |
42 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" | 42 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" |
diff --git a/meta/recipes-kernel/linux/linux-yocto_4.1.bb b/meta/recipes-kernel/linux/linux-yocto_4.1.bb index fba1fa1366..a04c93097e 100644 --- a/meta/recipes-kernel/linux/linux-yocto_4.1.bb +++ b/meta/recipes-kernel/linux/linux-yocto_4.1.bb | |||
@@ -36,7 +36,7 @@ COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemu | |||
36 | # Functionality flags | 36 | # Functionality flags |
37 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" | 37 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" |
38 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" | 38 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" |
39 | KERNEL_FEATURES_append_qemuarm=" cfg/virtio.scc" | 39 | KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" |
40 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" | 40 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" |
41 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" | 41 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" |
42 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" | 42 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" |