From a9e28b5813a19ac2729bd456e5460f3f1308ade3 Mon Sep 17 00:00:00 2001 From: Asias He Date: Thu, 22 Dec 2011 10:10:46 +0800 Subject: [PATCH] kvm tools: Remove resume pause noise. 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 Signed-off-by: Pekka Enberg --- builtin-run.c | 1 - 1 file changed, 1 deletion(-) diff --git a/builtin-run.c b/builtin-run.c index bf39cfb..4691e1b 100644 --- a/builtin-run.c +++ b/builtin-run.c @@ -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; }