From: Leonid Shatz <leonid.sh...@oracle.com> Some guests are using 64x64 32bpp cursor pixel array, the old size of 1024 integers was not sufficient to store such large masks.
Signed-off-by: Leonid Shatz <leonid.sh...@oracle.com> Reviewed-by: Darren Kenny <darren.ke...@oracle.com> Signed-off-by: Liran Alon <liran.a...@oracle.com> --- hw/display/vmware_vga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/display/vmware_vga.c b/hw/display/vmware_vga.c index ef2c8bdbf5be..46f03fe90ac0 100644 --- a/hw/display/vmware_vga.c +++ b/hw/display/vmware_vga.c @@ -620,7 +620,7 @@ struct vmsvga_cursor_definition_s { int hot_y; uint32_t and_mask_bpp; // Value must be 1 or equal to BITS_PER_PIXEL uint32_t xor_mask_bpp; // Value must be 1 or equal to BITS_PER_PIXEL - uint32_t and_mask[1024]; + uint32_t and_mask[4096]; uint32_t xor_mask[4096]; }; -- 1.9.1