From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=52891 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEUqV-0003vq-CS for qemu-devel@nongnu.org; Tue, 18 May 2010 18:01:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEUqT-0000B8-Dv for qemu-devel@nongnu.org; Tue, 18 May 2010 18:01:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52670) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEUqT-0000Am-4A for qemu-devel@nongnu.org; Tue, 18 May 2010 18:01:01 -0400 Message-ID: <4BF30E15.6040505@redhat.com> Date: Wed, 19 May 2010 00:00:53 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Add QEMU DirectFB display driver References: <1273766038-16808-1-git-send-email-julian.pidancet@citrix.com> In-Reply-To: <1273766038-16808-1-git-send-email-julian.pidancet@citrix.com> Content-Type: multipart/mixed; boundary="------------010108010101000600030503" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Julian Pidancet Cc: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------010108010101000600030503 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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. cheers, Gerd --------------010108010101000600030503 Content-Type: text/plain; name="0001-fixups.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-fixups.patch" >>From 50f26301ba1f8a0588fcafc54b05fe508e084696 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 17 May 2010 13:54:59 +0200 Subject: [PATCH] fixups --- configure | 18 +++++++++++++----- qemu-options.hx | 3 ++- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/configure b/configure index b453e85..de4bf8f 100755 --- a/configure +++ b/configure @@ -258,7 +258,7 @@ kvm="" kvm_para="" nptl="" sdl="" -directfb="no" +directfb="" sparse="no" uuid="" vde="" @@ -1071,10 +1071,18 @@ fi ########################################## # DirectFB probe -if test "$directfb" = "yes" ; then - directfb_libs=`directfb-config --libs` - directfb_cflags=`directfb-config --cflags` - libs_softmmu="$directfb_libs $libs_softmmu" +if test "$directfb" != "no" ; then + if $pkgconfig directfb; then + directfb_libs=$($pkgconfig directfb --libs) + directfb_cflags=$($pkgconfig directfb --cflags) + libs_softmmu="$directfb_libs $libs_softmmu" + directfb=yes + else + if test "$directfb" = "yes" ; then + feature_not_found "directfb" + fi + directfb=no + fi fi ########################################## diff --git a/qemu-options.hx b/qemu-options.hx index a4bdfbe..9597a48 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -610,7 +610,8 @@ ETEXI #ifdef CONFIG_DIRECTFB DEF("directfb", 0, QEMU_OPTION_directfb, - "-directfb enable DirectFB\n") + "-directfb enable DirectFB\n", + QEMU_ARCH_ALL) #endif STEXI @item -directfb -- 1.6.6.1 --------------010108010101000600030503--