Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GL5dB-0000ij-Jd for user-mode-linux-devel@lists.sourceforge.net; Wed, 06 Sep 2006 15:12:25 -0700 Received: from mail.nagafix.co.uk ([194.145.196.85]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GL5d8-0002yb-W0 for user-mode-linux-devel@lists.sourceforge.net; Wed, 06 Sep 2006 15:12:25 -0700 Message-ID: <44FF47BE.8090605@nagafix.co.uk> Date: Wed, 06 Sep 2006 23:12:14 +0100 From: Antoine Martin MIME-Version: 1.0 References: <44FF2B54.5020201@nagafix.co.uk> In-Reply-To: Subject: Re: [uml-devel] virtual framebuffer device visible on host List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: user-mode-linux-devel-bounces@lists.sourceforge.net Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: Geert Uytterhoeven Cc: User-mode Linux Kernel Development Geert, Thanks for that, the patch is quite small and still applies without too much effort to 2.6.17 (a lot of the rejects are whitespace/no change) Is there any reason not to merge this? Is it hackish or something? I've only compile tested it here since it seems I can't run any guests kernels since I updated to gcc4.1.1/glibc2.4, but I will certainly revisit this code once mainline is fixed. As I mentioned yesterday, older kernels die with: "cannot set up thread-local storage: set_thread_area failed when setting up thread-local storage" And newer (~ 2.6.16 onwards) fail even quicker on my desktop: # ./kernel32-2.6.17.11-x11-fb ubd0=./FedoraCore5-x86-root_fs Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...missing Checking for tmpfs mount on /dev/shm...nothing mounted on /dev/shm Checking PROT_EXEC mmap in /tmp/...OK Checking for the skas3 patch in the host: - /proc/mm...not found - PTRACE_FAULTINFO...not found - PTRACE_LDT...not found UML running in SKAS0 mode remove_umid_dir - actually_do_remove failed with err = -2 Geert Uytterhoeven wrote: > On Wed, 6 Sep 2006, Antoine Martin wrote: >> Just a thought, but how hard would it be to have a virtual device in the >> guests that mimics a framebuffer device and is in fact an X window on >> the host? I think this could almost be a killer-app. >> Or is there already a way to do this using VFB? >> Surely an X window is rich enough to provide all the primitives that a >> framebuffer device provides? > > It's been done before (but not yet in mainline), cfr. > http://www.gatago.com/linux/kernel/6105868.html. > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel