Hi, Attaching patch that fix updating qemu dirty region. Previous kvm_update_dirty_pages_log() imp treat physical ram as if it is linear mapped to guest physical memory. This patch fix it by mapping physical ram to guest physical memory areas and for etch area call kvm_get_dirty_pages_range() with the correct address and size. Thanks, Yaniv