From: Pekka Enberg Subject: Re: [PATCH 3/3] kvm tools, ui: Add support for SDL framebuffer output target Date: Fri, 3 Jun 2011 19:30:16 +0300 (EEST) Message-ID: References: <1307116779-572-1-git-send-email-penberg@kernel.org> <1307116779-572-3-git-send-email-penberg@kernel.org> <20110603162631.GA17203@elte.hu> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: kvm@vger.kernel.org, Cyrill Gorcunov , John Floren , Sasha Levin To: Ingo Molnar Return-path: Received: from filtteri2.pp.htv.fi ([213.243.153.185]:43666 "EHLO filtteri2.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750956Ab1FCQaS (ORCPT ); Fri, 3 Jun 2011 12:30:18 -0400 In-Reply-To: <20110603162631.GA17203@elte.hu> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, 3 Jun 2011, Ingo Molnar wrote: > Very nice! > > I tried them out - but i'm unsure how to activate the feature. > > Right now 'kvm run' will run the guest and it outputs to the serial > console. If i try 'kvm run --sdl' i get: > > linux/tools/kvm> ./kvm run --sdl That's correct. > # kvm run -k ../../arch/x86/boot/bzImage -m 1216 -c 16 > Warning: Unable to open /dev/net/tun > Undefined video mode number: 312 > Press to see video modes available, to continue, or wait 30 sec > > What kind of options should i select on the guest kernel image side > to be able to boot via the SDL framebuffer? That's not related to the SDL code but to the VESA code. I suppose you never tried the VNC version so you need to make sure the following config options are there: From: John Floren Date: Mon, 23 May 2011 12:15:18 +0000 (+0300) Subject: kvm tools: Initialize and use VESA and VNC X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fpenberg%2Fslab-2.6.git;a=commitdiff_plain;h=20a2b9bbed84df6d734f5566709b0501467e3c68 kvm tools: Initialize and use VESA and VNC Requirements - Kernel compiled with: CONFIG_FB_BOOT_VESA_SUPPORT=y CONFIG_FB_VESA=y CONFIG_FRAMEBUFFER_CONSOLE=y Start VNC server by starting kvm tools with "--vnc". Connect to the VNC server by running: "vncviewer :0". Since there is no support for input devices at this time, it may be useful starting kvm tools with an additional ' -p "console=ttyS0" ' parameter so that it would be possible to use a serial console alongside with a graphic one. Signed-off-by: John Floren [ turning code into patches and cleanup ] Signed-off-by: Sasha Levin Signed-off-by: Pekka Enberg Pekka