1
0
Fork 0

realtime-virtual-host: added ncat requirement

resolves: rhbz#1779117

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2020-01-13 21:26:48 +01:00
parent d5dce53187
commit cc11660689
No known key found for this signature in database
GPG key ID: D8E1C00E076E840B
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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