Re: [PATCH] Add VirtIO Frame Buffer Support
From: Ondrej Zajicek <hidden>
Date: 2009-11-02 23:50:27
From: Ondrej Zajicek <hidden>
Date: 2009-11-02 23:50:27
On Mon, Nov 02, 2009 at 11:42:11PM +0100, Alexander Graf wrote:
Am 02.11.2009 um 23:32 schrieb Ondrej Zajicek [off-list ref]:quoted
On Mon, Nov 02, 2009 at 11:09:19PM +0100, Alexander Graf wrote:quoted
When we want to create a full VirtIO based machine, we're still missing graphics output. Fortunately, Linux provides us with most of the frameworks to render text and everything, we only need to implement a transport. So this is a frame buffer backend written for VirtIO. Using this and my patch to qemu, you can use paravirtualized graphics.Just a note: it might be useful to allow paravirtualized graphics to handle text mode. In that case, it can be done in fbdev layer using tileblit operations.Is there any real driver implementing this already? I'd prefer to copy from working code instead of writing my own :-).
Yes, for example s3fb and vt8623fb (struct fb_tile_ops).
Also, we still need to keep the local frame buffer copy in sync so we can mmap and read from it, right? So it's not really worth it probably...
Advantages might be on Qemu side (like ability to run in text-only mode without need to change console on virtualized sytem). -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."