Commit c170b696 authored by Ondřej Lysoněk's avatar Ondřej Lysoněk

realtime-virtual-host: Fix verification in

The code was completely broken. Jaroslav and I think the purpose
of the code was to check that the files
contain "0", which we think is the (at least intended) result of
profiles/functions:setup_kvm_mod_low_latency(). So I'm fixing it
to do that.
Signed-off-by: default avatarOndřej Lysoněk <>
parent f733e6e6
......@@ -104,12 +104,14 @@ stop() {
verify() {
python /usr/libexec/tuned/ "verify" "$TUNED_isolated_cores_expanded"
retval = "$?"
if [ $retval -eq 0 -a -f /sys/module/kvm/parameters/kvmclock_periodic_sync ]; then
retval = `cat /sys/module/kvm/parameters/kvmclock_periodic_sync`
test "$(cat /sys/module/kvm/parameters/kvmclock_periodic_sync)" = 0
if [ $retval -eq 0 -a -f /sys/module/kvm_intel/parameters/ple_gap ]; then
retval = `cat /sys/module/kvm_intel/parameters/ple_gap`
test "$(cat /sys/module/kvm_intel/parameters/ple_gap)" = 0
return $retval
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment