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).