realtime-virtual-host: added ncat requirement
resolves: rhbz#1779117 Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
d5dce53187
commit
cc11660689
2 changed files with 3 additions and 2 deletions
|
|
@ -29,9 +29,9 @@ run_tsc_deadline_latency()
|
|||
-chardev socket,id=char0,nowait,path=$unixpath,server | grep latency | cut -f 2 -d ":" > $dir/out &
|
||||
|
||||
sleep 1s
|
||||
pidofvcpu=`echo "info cpus" | nc -U $unixpath | grep thread_id | cut -f 3 -d "=" | tr -d "\r"`
|
||||
pidofvcpu=`echo "info cpus" | ncat -U $unixpath | grep thread_id | cut -f 3 -d "=" | tr -d "\r"`
|
||||
taskset -p -c $1 $pidofvcpu >/dev/null
|
||||
echo "cont" | nc -U $unixpath >/dev/null
|
||||
echo "cont" | ncat -U $unixpath >/dev/null
|
||||
wait
|
||||
|
||||
if [ ! -f $dir/out ]; then
|
||||
|
|
|
|||
|
|
@ -196,6 +196,7 @@ Summary: Additional tuned profile(s) targeted to Network Function Virtualization
|
|||
Requires: %{name} = %{version}
|
||||
Requires: %{name}-profiles-realtime = %{version}
|
||||
Requires: tuna
|
||||
Requires: nmap-ncat
|
||||
%if 0%{?rhel} == 7
|
||||
Requires: qemu-kvm-tools-rhev
|
||||
%else
|
||||
|
|
|
|||
Loading…
Reference in a new issue