]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Simplify search for root device
authorSasha Levin <levinsasha928@gmail.com>
Fri, 6 May 2011 07:26:35 +0000 (10:26 +0300)
committerPekka Enberg <penberg@kernel.org>
Sat, 7 May 2011 08:56:59 +0000 (11:56 +0300)
commite2db990ec5ac1b7b144ee0caa94629a81f394a4c
tree617a867b2fcb7a007b454021440e6fab2ec6706b
parent4ebfc0c917486e9204682c6ab38ec91c9e37f80d
kvm tools: Simplify search for root device

Use /dev/block to find the block device used for root
instead of searching through mounts.

Tested-by: Prasad Joshi <prasadjoshi124@gmail.com>
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/kvm-run.c