From patchwork Fri Jun 3 16:56:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ingo Molnar X-Patchwork-Id: 847882 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p53GuIN9013849 for ; Fri, 3 Jun 2011 16:56:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753996Ab1FCQ4P (ORCPT ); Fri, 3 Jun 2011 12:56:15 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:38692 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753929Ab1FCQ4P (ORCPT ); Fri, 3 Jun 2011 12:56:15 -0400 Received: from elvis.elte.hu ([157.181.1.14]) by mx3.mail.elte.hu with esmtp (Exim) id 1QSXfQ-0006xh-S2 from ; Fri, 03 Jun 2011 18:56:13 +0200 Received: by elvis.elte.hu (Postfix, from userid 1004) id 8B9213E2517; Fri, 3 Jun 2011 18:56:08 +0200 (CEST) Date: Fri, 3 Jun 2011 18:56:11 +0200 From: Ingo Molnar To: Pekka Enberg Cc: kvm@vger.kernel.org, Cyrill Gorcunov , John Floren , Sasha Levin Subject: Re: [PATCH 3/3] kvm tools, ui: Add support for SDL framebuffer output target Message-ID: <20110603165611.GA19073@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> <20110603164500.GB17964@elte.hu> <20110603165447.GB18795@elte.hu> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20110603165447.GB18795@elte.hu> User-Agent: Mutt/1.5.20 (2009-08-17) Received-SPF: neutral (mx3: 157.181.1.14 is neither permitted nor denied by domain of elte.hu) client-ip=157.181.1.14; envelope-from=mingo@elte.hu; helo=elvis.elte.hu; X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.3.1 -2.0 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 03 Jun 2011 16:56:18 +0000 (UTC) * Ingo Molnar wrote: > here is how the slowdown looks like with printk timestamps: > > [ 0.677000] uvesafb: failed to execute /sbin/v86d > [ 0.678000] uvesafb: make sure that the v86d helper is installed and executable > [ 0.679000] uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2) > [ 0.680000] uvesafb: vbe_init() failed with -22 > [ 0.680000] uvesafb: probe of uvesafb.0 failed with error -22 > [ 0.681000] vesafb: mode is 640x480x32, linelength=2560, pages=0 > [ 0.682000] vesafb: scrolling: redraw > [ 0.682000] vesafb: Truecolor: size=8:8:8:8, shift=24:0:8:16 > [ 0.683000] vesafb: framebuffer at 0xd0000000, mapped to 0xffffc90000900000, using 1200k, total 1200k > [ 1.855000] Console: switching to colour frame buffer device 80x30 > [ 3.635000] fb0: VESA VGA frame buffer device > [ 4.268000] virtio-pci 0000:00:01.0: enabling device (0000 -> 0001) > ?[ 4.269000] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled > [ 4.535000] serial8250: ttyS0 at I/O 0x3f8 (irq = 0) is a 16550A > ?[ 7.270000] serial8250: ttyS1 at I/O 0x2f8 (irq = 0) is a 16550A > ?[ 8.190000] serial8250: ttyS2 at I/O 0x3e8 (irq = 0) is a 16550A > [ 8.818000] Non-volatile memory driver v1.3 > [ 9.419000] Linux agpgart interface v0.103 > [ 9.420000] [drm] Initialized drm 1.1.0 20060810 > [ 9.420000] [drm:i915_init] *ERROR* drm/i915 can't work without intel_agp module! > > so the badness starts after the 'framebuffer mapped' message. btw., we never execute ->start(): I'll send you my .config and bzImage in private. Thanks, Ingo --- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/tools/kvm/ui/sdl.c b/tools/kvm/ui/sdl.c index 8bc3f68..43734e4 100644 --- a/tools/kvm/ui/sdl.c +++ b/tools/kvm/ui/sdl.c @@ -35,6 +35,8 @@ static void *sdl__thread(void *p) if (!screen) die("Unable to set SDL video mode"); + die("die!"); + for (;;) { SDL_BlitSurface(guest_screen, NULL, screen, NULL); SDL_Flip(screen);