]> xenbits.xensource.com Git - qemu-upstream-4.2-testing.git/commit
xen: xen_sync_dirty_bitmap: attempt to fix SEGV qemu-xen-4.2.2-rc1
authorAlex Bligh <alex@alex.org.uk>
Wed, 6 Mar 2013 14:59:27 +0000 (14:59 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 6 Mar 2013 17:07:41 +0000 (17:07 +0000)
commit351f94ff4bf3a7795ca5b282305aa610e598eec0
tree1aa4ce64394692199fddd4a3b68027c1bc371e50
parenteccc68722696864fc4823f048c7be58d11281b97
xen: xen_sync_dirty_bitmap: attempt to fix SEGV

When xc_hvm_track_dirty_vram fails, iterate through pages based on
vram_offset and npages, rather than start_addr and size. DPRINTF
before the loop too.

[ Fixes a regression introduced by
  eccc68722696864fc4823f048c7be58d11281b97 - iwj ]

Signed-off-by: Alex Bligh <alex@alex.org.uk>
Tested-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen-all.c