Wind River Support Network

HomeDefectsOVP-381
Fixed

OVP-381 : template: rt-latency only applied to ovp-kvm image not other image

Created: May 21, 2013    Updated: Mar 11, 2016
Resolved Date: Oct 27, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.9
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Kernel

Description

lyang0@pek-lpgtest1:/buildarea1/lyang0/ovirt-node/layers/wr-ovp/ovp/templates$ cat feature/rt-latency/template.conf 
# We have two kernel fragments that implement the optimized rt
# latency configuration. One for the host and one for the guest.
# Rather than forcing the template user to pick host or guest, we
# can determine the proper fragment based on the existence of
# qemu-kvm-enable in KERNEL_FEATURES and add the right one to the 
# kernel feature list.

# The two fragments in question are:
#    KERNEL_FEATURES_append = " features/ovp/rt-latency-host.scc"
#    KERNEL_FEATURES_append = " features/ovp/rt-latency-guest.scc"

KERNEL_FEATURES_append := "${@bb.utils.contains('DEFAULT_IMAGE', 'wrlinux-image-ovp-kvm', \
                                                ' features/ovp/rt-latency-host.scc', ' features/ovp/rt-latency-guest.scc', d)}" 

Steps to Reproduce

check the rt-latency template, just find which is not applied to other image like ovirt-node or ovirt-engine 
Live chat
Online