Received: from [140.186.70.92] (port=58194 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEhzr-0006D0-SK for qemu-devel@nongnu.org; Wed, 19 May 2010 08:03:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEhzp-0006rZ-KJ for qemu-devel@nongnu.org; Wed, 19 May 2010 08:03:35 -0400 Received: from smtp.citrix.com ([66.165.176.89]:47507) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEhzp-0006rD-A1 for qemu-devel@nongnu.org; Wed, 19 May 2010 08:03:33 -0400 Date: Wed, 19 May 2010 13:06:44 +0100 From: Stefano Stabellini Subject: Re: [Qemu-devel] [PATCH] Add QEMU DirectFB display driver In-Reply-To: <4BF30E15.6040505@redhat.com> Message-ID: References: <1273766038-16808-1-git-send-email-julian.pidancet@citrix.com> <4BF30E15.6040505@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Julian Pidancet , "qemu-devel@nongnu.org" On Tue, 18 May 2010, Gerd Hoffmann wrote: > On 05/13/10 17:53, Julian Pidancet wrote: > > This patch implements a DirectFB driver for QEMU. It allows Qemu to > > draw a VM graphic output directly in the framebuffer of the host, > > without having to rely on X11. > > Managed to build it after hacking configure to use pkgconfig. Patch > attached for reference. > > Same bug as SDL on framebuffer: No sane console switching. Boot a > guest, switch to another (host) virtual terminal, watch qemu continue > drawing on your screen. > > Guys, this is simply not acceptable. You are not alone on the machine. > If I switch away to another virtual terminal I want to see that other > terminals content and nothing else. > > NACK. I completely agree with you. I think the only way to fix this is to handle VT acquire and release events ourselves. At this point I am not sure if it is worth doing it in the DirectFB frontend or in the SDL frontend directly (making sure we are not running on X11 first).