Hello,
I'm using SnowLeo with qemu/kvm under linux because it's very reactive but there is no much driver so I look at yours.
VMMouse is working well as it but there is also a reverse engenering vmw-svga.bios and a minimal "driver" in qemu/kvm:
https://github.com/a...hw/vmware_vga.c
My goal was to use this minimal driver to gain acces to various resolution and why not HW cursor.
If you read the code you will see there is not so much code implemented and SVGA_CMD_DEFINE_ALPHA_CURSOR is missing, meaning I'm not able to use the hardware cursor with the vmwsga2 mac os driver.
Adding the code for SVGA_CMD_DEFINE_ALPHA_CURSOR in the qemu driver should not be a lot of work but given all run well with linux guest I doubt this will done soon.
What I've done is : in qemu source:
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c
index 354c221..3690f3a 100644
--- a/hw/vmware_vga.c
+++ b/hw/vmware_vga.c
@@ -988,10 +988,10 @@ static void vmsvga_update_display(void *opaque)
* Is it more efficient to look at vram VGA-dirty bits or wait
* for the driver to issue SVGA_CMD_UPDATE?
*/
- if (s->invalidated) {
- s->invalidated = 0;
+ //if (s->invalidated) {
+ // s->invalidated = 0;
vmsvga_update_screen(s);
- }
+ //}
}
and in vmwsvga2 change in the file vmw_options_fb.h :
VMW_OPTION_FB_FIFO_INIT 0x02U //0x01U
VMW_OPTION_FB_REFRESH_TIMER 0x01U // 0x02U
and use
vmw_options_fb=1 as a workaround cause I need my screen to refresh but I can't validate FIFOInit... with this I'm able to resize and the cursor is visible.
All this to point you to the qemu code ( don't know if you're interested) and to say thanks.