Skip to content
Commit bdf5ca12 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

torture: Make kvm-test-1-run-qemu.sh apply affinity



This commit causes the kvm-test-1-run-qemu.sh script to check the
TORTURE_AFFINITY environment variable and to add "taskset" commands to
the qemu-cmd file.  The first "taskset" command is applied only if the
TORTURE_AFFINITY environment variable is a non-empty string, and this
command pins the current scenario's guest OS to the specified CPUs.
The second "taskset" command reports the guest OS's affinity in a new
"qemu-affinity" file.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 8220a118
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment