diff options
author | Gerd Hoffmann | 2016-07-13 14:33:06 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2016-07-20 12:08:14 +0200 |
commit | e0127d2eec9cd5676ea9f3c47c2a7579a02c0466 (patch) | |
tree | 773acae8e5b4e6a0ab0961ab61aec76438813cb6 /qapi/qmp-input-visitor.c | |
parent | disas: Fix ATTRIBUTE_UNUSED define clash with ALSA headers (diff) | |
download | qemu-e0127d2eec9cd5676ea9f3c47c2a7579a02c0466.tar.gz qemu-e0127d2eec9cd5676ea9f3c47c2a7579a02c0466.tar.xz qemu-e0127d2eec9cd5676ea9f3c47c2a7579a02c0466.zip |
qxl: fix qxl_set_dirty call in qxl_dirty_one_surface
qxl_set_dirty() expects start and end as range specification.
qxl_dirty_one_surface passes 'size' instead of 'offset + size' as end
parameter. Fix that. Also use uint64_t everywhere while being at it.
Bug was added by "e25139b qxl: set only off-screen surfaces dirty instead
of the whole vram" and carried forward unnoticed by "5cdc402 qxl: fix
surface migration".
Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-id: 1468413187-22071-1-git-send-email-kraxel@redhat.com
Diffstat (limited to 'qapi/qmp-input-visitor.c')
0 files changed, 0 insertions, 0 deletions