Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
qemu-linux-user
0319-vga-fix-display-update-region-calcu.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0319-vga-fix-display-update-region-calcu.patch of Package qemu-linux-user
From: Gerd Hoffmann <kraxel@redhat.com> Date: Tue, 9 May 2017 12:48:39 +0200 Subject: vga: fix display update region calculation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit vga display update mis-calculated the region for the dirty bitmap snapshot in case the scanlines are padded. This can triggere an assert in cpu_physical_memory_snapshot_get_dirty(). Fixes: fec5e8c92becad223df9d972770522f64aafdb72 Reported-by: Kevin Wolf <kwolf@redhat.com> Reported-by: 李强 <liqiang6-s@360.cn> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20170509104839.19415-1-kraxel@redhat.com (cherry picked from commit bfc56535f793c557aa754c50213fc5f882e6482d) [BR: Support for BSC#1084604 (and other useful vga fixes)] Signed-off-by: Bruce Rogers <brogers@suse.com> --- hw/display/vga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/display/vga.c b/hw/display/vga.c index ba62068faca5b24967f77dda5caa..9d9389ad6258b3a72b32295c0d2f 100644 --- a/hw/display/vga.c +++ b/hw/display/vga.c @@ -1654,7 +1654,7 @@ static void vga_draw_graphic(VGACommonState *s, int full_update) if (!full_update) { vga_sync_dirty_bitmap(s); snap = memory_region_snapshot_and_clear_dirty(&s->vram, addr1, - bwidth * height, + line_offset * height, DIRTY_MEMORY_VGA); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor