Home
last modified time | relevance | path

Searched hist:"3761 abb167847e9d848588bf15c5d7476845f7e8" (Results 1 – 1 of 1) sorted by relevance

/qemu/hw/display/
H A Dqxl.c3761abb167847e9d848588bf15c5d7476845f7e8 Mon Jan 20 16:57:12 UTC 2014 Alon Levy <alevy@redhat.com> hw/display/qxl: fix signed to unsigned comparison

Several small signedness / overflow corrections to qxl_create_guest_primary:
1. use 64 bit unsigned for size to avoid overflow possible from two 32
bit multiplicants.
2. correct sign for requested_height
3. add a more verbose error message when setting guest bug state (which
causes a complete guess blackout until reset, so it helps if it is
verbose).

Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>