summary refs log tree commit diff stats
path: root/hw/lm32/lm32_boards.c
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2014-01-20 18:57:12 +0200
committerGerd Hoffmann <kraxel@redhat.com>2014-02-03 11:05:15 +0100
commit3761abb167847e9d848588bf15c5d7476845f7e8 (patch)
tree9b0264463c24eeb7ee8f5c5b8583cff5e7630448 /hw/lm32/lm32_boards.c
parentf06b85218a41fd6f8e797a925f4ea75640b69c9e (diff)
downloadfocaccia-qemu-3761abb167847e9d848588bf15c5d7476845f7e8.tar.gz
focaccia-qemu-3761abb167847e9d848588bf15c5d7476845f7e8.zip
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>
Diffstat (limited to 'hw/lm32/lm32_boards.c')
0 files changed, 0 insertions, 0 deletions