From: Ingo Molnar Subject: Re: [PATCH 3/3] kvm tools, ui: Add support for SDL framebuffer output target Date: Fri, 3 Jun 2011 18:45:00 +0200 Message-ID: <20110603164500.GB17964@elte.hu> References: <1307116779-572-1-git-send-email-penberg@kernel.org> <1307116779-572-3-git-send-email-penberg@kernel.org> <20110603162631.GA17203@elte.hu> <20110603162856.GA17415@elte.hu> <20110603163346.GB17415@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, Cyrill Gorcunov , John Floren , Sasha Levin To: Pekka Enberg Return-path: Received: from mx3.mail.elte.hu ([157.181.1.138]:56364 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751593Ab1FCQpJ (ORCPT ); Fri, 3 Jun 2011 12:45:09 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: i tried this patch: diff --git a/tools/kvm/ui/sdl.c b/tools/kvm/ui/sdl.c index 8bc3f68..403563c 100644 --- a/tools/kvm/ui/sdl.c +++ b/tools/kvm/ui/sdl.c @@ -19,6 +19,8 @@ static void *sdl__thread(void *p) SDL_Surface *screen; SDL_Event ev; + BUG_ON(1); + if (SDL_Init(SDL_INIT_VIDEO) != 0) die("Unable to initialize SDL"); but it does not trigger. Oh ... because the SDL library is not present on that box and it silently did not get built. Now *that* is not an obvious failure pattern ;-) Thanks, Ingo