]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Don't remove any file which is not created by itself
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 27 Dec 2011 07:36:38 +0000 (15:36 +0800)
committerPekka Enberg <penberg@kernel.org>
Tue, 3 Jan 2012 17:07:01 +0000 (19:07 +0200)
commita54ef434364b377228f4746d52e654e911a7a4dd
treedc95b2a324631393f1b1606b36a893e5b3d35697
parent4568fef30e457281bac396427a17d72218cc39c3
kvm tools: Don't remove any file which is not created by itself

It is user's or other program's reponsibility, not the current program.
Just try best to let the user know what happen.
Also make print_guest() keep the same behavior as do_debug()
do_pause() ...etc. when it failed.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/builtin-list.c
tools/kvm/kvm.c