qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] VMware SVGA II emulation


From: andrzej zaborowski
Subject: [Qemu-devel] Re: [PATCH] VMware SVGA II emulation
Date: Wed, 28 Mar 2007 04:01:46 +0200

Hi,
 I looked at how the embedding of a standard VGA in the VMware SVGA
could be done (mainly out of curiosity) and it wasn't difficult. I had
to make small changes in hw/vga.c but I think it's made more flexible
now. Attached is a second version of the VMware SVGA patch. This time
including the "Host-accelerated mouse cursor support in SDL" patch in
the same file. I added a FIFO for buffering screen update requests so
as to avoid touching the SDL buffer between scheduled updates, (which
could lead to drawing over qemu monitor or even segfaults if the
resolution was changed in meantime). I also found what was wrong with
the accelerated rectangle filling and fixed a couple of other issues.
The palette size was also wrong in the older patch - credits to
Anthony Liguori who spotted it.

I have not tested switching between std VGA graphic modes and VMware
SVGA mode, but the switching between VGA text mode and VMware SVGA
mode worked fine (although the black console background was becoming
not exactly black). Savevm/loadvm should also work, including the VGA
part.
In this version VMware SVGA is a standalone VGA so we're using only
one qemu console, like with "-cirrusvga".

Regards,
Andrew

Attachment: 0001-VMware-SVGA-II-emulation.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]