Received: from [140.186.70.92] (port=55352 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOs9k-0000oA-Se for qemu-devel@nongnu.org; Wed, 16 Jun 2010 08:55:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOs0Y-0002vW-O8 for qemu-devel@nongnu.org; Wed, 16 Jun 2010 08:46:19 -0400 Received: from smtp.eu.citrix.com ([62.200.22.115]:11596) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOs0Y-0002vM-K5 for qemu-devel@nongnu.org; Wed, 16 Jun 2010 08:46:18 -0400 Date: Wed, 16 Jun 2010 13:44:19 +0100 From: Stefano Stabellini In-Reply-To: <1276596347-9410-6-git-send-email-kraxel@redhat.com> Message-ID: References: <1276596347-9410-1-git-send-email-kraxel@redhat.com> <1276596347-9410-6-git-send-email-kraxel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: [Qemu-devel] Re: [PATCH 5/5] linux fbdev display driver. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Stefano Stabellini , "qemu-devel@nongnu.org" , Julian Pidancet On Tue, 15 Jun 2010, Gerd Hoffmann wrote: > Display works, requires truecolor framebuffer with 16 or 32 bpp on the > host. 32bpp is recommended. The framebuffer is used as-is, qemu > doesn't try to switch modes. With LCD displays mode switching is pretty > pointless IMHO, also it wouldn't work anyway with the most common > fbdev drivers (vesafb, KMS). Guest display is centered on the host > screen. > > Mouse works, uses /dev/input/mice. > > Keyboard works. Guest screen has whatever keymap you load inside > the guest. Text windows (monitor, serial, ...) have a simple en-us > keymap. Good enougth to type monitor commands. Not goot enougth to > work seriously on a serial terminal. But the qemu terminal emulation > isn't good enougth for that anyway ;) > > Hot keys: > Ctrl-Alt-F -> host console switching. > Ctrl-Alt- -> qemu console switching. > Ctrl-Alt-ESC -> exit qemu. > > Special feature: Sane console switching. Switching away stops screen > updates. Switching back redraws the screen. When started from the > linux console qemu uses the vt you've started it from (requires just > read/write access to /dev/fb0). When starting from somewhere else qemu > tries to open a unused virtual terminal and switch to it (usually > requires root privileges to open /dev/tty). > > For some strange reason console switching from X11 to qemu doesn't work. > Anything else (including X11 -> text console -> qemu) works fine. To be > investigated ... > > Can be enabled/disabled via monitor, use "change fbdev [ on | off ]" the patch still doesn't use the display allocator interface, but it shouldn't be difficult to implement support for it on top of this patch, so it is fine by me.