KVM test: kvm_subprocess: get rid of get_shell_pid() (replace it with get_pid())
Don't differentiate between the PID of the subprocess and the PID of the shell
running it.
Signed-off-by: Michael Goldish <mgoldish@redhat.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3687 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/tests/kvm/kvm_tests.py b/client/tests/kvm/kvm_tests.py
index deab59e..c2bfb8a 100644
--- a/client/tests/kvm/kvm_tests.py
+++ b/client/tests/kvm/kvm_tests.py
@@ -688,7 +688,7 @@
output_prefix="(host load %d) " % i,
timeout=0.5))
# Set the CPU affinity of the load process
- pid = host_load_sessions[-1].get_shell_pid()
+ pid = host_load_sessions[-1].get_pid()
set_cpu_affinity(pid, cpu_mask)
# Sleep for a while (during load)