]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm tools: Remove resume pause noise.
authorAsias He <asias.hejun@gmail.com>
Thu, 22 Dec 2011 02:10:46 +0000 (10:10 +0800)
committerPekka Enberg <penberg@kernel.org>
Thu, 22 Dec 2011 14:06:52 +0000 (16:06 +0200)
Remove this annoying message if user resumes or pauses a guest which
is already resumed or paused.

   Warning: (builtin-run.c) handle_pause:520: failed condition: 1

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

index bf39cfb6790ce28c8769089cd2a575017f6df03c..4691e1b9648ca699a393c42abdfba846b76fe3a9 100644 (file)
@@ -517,7 +517,6 @@ static void handle_pause(int fd, u32 type, u32 len, u8 *msg)
                kvm->vm_state = KVM_VMSTATE_PAUSED;
                kvm__pause();
        } else {
-               WARN_ON(1);
                return;
        }