KVM test: kvm_subprocess: allow garbage collection of kvm_tail instances
Tail threads refer to kvm_tail objects, preventing them from being garbage-
collected.
1) Before a tail thread exits, remove the reference to the thread from the
kvm_tail object.
2) Add a function kill_tail_threads() which asks all tail threads to terminate
and waits for them to do so.
3) Use kill_tail_threads() instead of VM.kill_tail_thread() (which was there
for a different reason) in kvm_preprocessing.py.
Signed-off-by: Michael Goldish <mgoldish@redhat.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@4709 592f7852-d20e-0410-864c-8624ca9c26a4
3 files changed