]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Use kvm__get_dir() helper function
authorPekka Enberg <penberg@kernel.org>
Sun, 16 Oct 2011 18:22:49 +0000 (21:22 +0300)
committerPekka Enberg <penberg@kernel.org>
Sun, 16 Oct 2011 18:22:49 +0000 (21:22 +0300)
commitf1a7aeefa3ee99fcd1b3edf60dc56426fadba19e
tree3ef0178d246835d125c13a9808acf682bcb0a9f3
parent6d3c9dde0c3728ba49daa7d0f51f69d3ba44c850
kvm tools: Use kvm__get_dir() helper function

This patch adds a kvm__get_dir() helper function that replaces open-coded uses
of HOME_DIR and KVM_PID_FILE_PATH.

Cc: Asias He <asias.hejun@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/builtin-list.c
tools/kvm/builtin-run.c
tools/kvm/builtin-setup.c
tools/kvm/include/kvm/kvm.h
tools/kvm/kvm.c
tools/kvm/main.c