From: Dave Airlie Date: Thu, 17 Dec 2009 22:08:11 +0000 (+1000) Subject: vmware: increase cursor buffer size. X-Git-Tag: v0.12.0~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e83421f511ccbc2c8af2d93833047e94429a80e4;p=thirdparty%2Fqemu.git vmware: increase cursor buffer size. The cursor pixmap size we calculate later ends up being 4096 dwords long by the looks of it. This boots an F12 LiveCD now. Signed-off-by: Dave Airlie Signed-off-by: Anthony Liguori (cherry picked from commit 8095cb3ed22d74649fd247efb9518459eae4d92e) --- diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index e3d57061393..7ab1c7910b2 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -467,7 +467,7 @@ struct vmsvga_cursor_definition_s { int hot_x; int hot_y; uint32_t mask[1024]; - uint32_t image[1024]; + uint32_t image[4096]; }; #define SVGA_BITMAP_SIZE(w, h) ((((w) + 31) >> 5) * (h))