]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Stop VCPUs before freeing struct kvm
authorSasha Levin <levinsasha928@gmail.com>
Sat, 2 Jul 2011 23:52:11 +0000 (02:52 +0300)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Jul 2011 10:07:45 +0000 (13:07 +0300)
commit2bd24259f7841f724485049a226e7f37648cf637
tree88633fc296ac24deb90e9113ad1abdbb52372a3e
parentfff28f574bee7ed61e8cbf762b839cb9fc925205
kvm tools: Stop VCPUs before freeing struct kvm

Not stopping VCPUs before leads to seg faults and other errors due to
synchronization between threads.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/term.c