From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH 3/3] kvm tools, ui: Add support for SDL framebuffer output target Date: Fri, 3 Jun 2011 18:56:11 +0200 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-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE 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]: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 Content-Disposition: inline In-Reply-To: <20110603165447.GB18795@elte.hu> Sender: kvm-owner@vger.kernel.org List-ID: * Ingo Molnar wrote: > here is how the slowdown looks like with printk timestamps: >=20 > [ 0.677000] uvesafb: failed to execute /sbin/v86d > [ 0.678000] uvesafb: make sure that the v86d helper is installed a= nd executable > [ 0.679000] uvesafb: Getting VBE info block failed (eax=3D0x4f00, = err=3D-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=3D2560, pages=3D= 0 > [ 0.682000] vesafb: scrolling: redraw > [ 0.682000] vesafb: Truecolor: size=3D8:8:8:8, shift=3D24:0:8:16 > [ 0.683000] vesafb: framebuffer at 0xd0000000, mapped to 0xffffc90= 000900000, 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= ) > =EF=BF=BD[ 4.269000] Serial: 8250/16550 driver, 4 ports, IRQ shari= ng enabled > [ 4.535000] serial8250: ttyS0 at I/O 0x3f8 (irq =3D 0) is a 16550A > =EF=BF=BD[ 7.270000] serial8250: ttyS1 at I/O 0x2f8 (irq =3D 0) is= a 16550A > =EF=BF=BD[ 8.190000] serial8250: ttyS2 at I/O 0x3e8 (irq =3D 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 in= tel_agp module! >=20 > so the badness starts after the 'framebuffer mapped' message. btw., we never execute ->start(): 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"); =20 + die("die!"); + for (;;) { SDL_BlitSurface(guest_screen, NULL, screen, NULL); SDL_Flip(screen); I'll send you my .config and bzImage in private. Thanks, Ingo