Searched hist:"48 f4ba671bbb3dd212002d57b72a23375f51619b" (Results 1 – 1 of 1) sorted by relevance
/qemu/hw/display/ |
H A D | qxl.c | 48f4ba671bbb3dd212002d57b72a23375f51619b Mon Oct 15 12:54:03 UTC 2012 Alon Levy <alevy@redhat.com> hw/qxl: guest bug on primary create with stride %4 != 0
Due to usage of pixman for rendering on all spice surfaces we have pixman's requirement that the stride be word aligned. A guest not honoring that can crash spice and qemu with it due to failure to create a surface (in spice-server). Avoid this early on in primary surface creation and offscreen surface creation.
Recently windows guests got odd width support which triggers a non word aligned primary surface in 16bit color depth. Off screen surfaces have always been word aligned, but doesn't hurt to check them here too.
Signed-off-by: Alon Levy <alevy@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|