]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Do not run guest if it is stopped.
authorAsias He <asias.hejun@gmail.com>
Wed, 21 Dec 2011 13:47:11 +0000 (21:47 +0800)
committerPekka Enberg <penberg@kernel.org>
Wed, 21 Dec 2011 20:32:02 +0000 (22:32 +0200)
commitead99857b8b3d6b23be0635b3beb057cbc913a70
tree0c3b09bbf6bc1f748526e6fc904c55bcb6c7ecf4
parentc56875099528aa54eb28b5feb11935c4069b5835
kvm tools: Do not run guest if it is stopped.

If the guest is stopped, there is no need to run it.
This patch fixes this when running 'lkvm stop'.

   KVM_RUN failed: Bad address

Signed-off-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/kvm-cpu.c