diff options
| author | Alon Levy | 2014-01-20 17:57:12 +0100 |
|---|---|---|
| committer | Gerd Hoffmann | 2014-02-03 11:05:15 +0100 |
| commit | 3761abb167847e9d848588bf15c5d7476845f7e8 (patch) | |
| tree | 9b0264463c24eeb7ee8f5c5b8583cff5e7630448 /scripts | |
| parent | qxl: clear irq on reset (diff) | |
| download | qemu-3761abb167847e9d848588bf15c5d7476845f7e8.tar.gz qemu-3761abb167847e9d848588bf15c5d7476845f7e8.tar.xz 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 'scripts')
0 files changed, 0 insertions, 0 deletions
