From: Ingo Molnar Subject: Re: [PATCH] kvm tools: Use assert() helper to check a variable value Date: Mon, 19 Dec 2011 11:50:31 +0100 Message-ID: <20111219105031.GB19861@elte.hu> References: <20111218213536.GB17380@moon> <20111219075738.GD17380@moon> <20111219082545.GE17380@moon> <20111219104009.GB17928@elte.hu> <20111219104917.GF17380@moon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Pekka Enberg , Sasha Levin , Asias He , Thomas Gleixner , KVM-ML To: Cyrill Gorcunov Return-path: Received: from mx2.mail.elte.hu ([157.181.151.9]:51307 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751663Ab1LSKwY (ORCPT ); Mon, 19 Dec 2011 05:52:24 -0500 Content-Disposition: inline In-Reply-To: <20111219104917.GF17380@moon> Sender: kvm-owner@vger.kernel.org List-ID: * Cyrill Gorcunov wrote: > On Mon, Dec 19, 2011 at 11:40:09AM +0100, Ingo Molnar wrote: > > > > GDB will catch that signal. > > > > Yeah, good point! Pekka, drop this patch please, I'll make new one at evening. Patch is good as-is IMO - assert() was used before so it's not a regression per se. Acked-by: Ingo Molnar The tool-specific BUG() implementation can be added as a delta on top of that. It's in fact better to keep those two steps separate. Thanks, Ingo