Yaniv Kamay wrote:
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.


kvm_get_dirty_pages_range() already operates on guest physical memory, and kvm_get_dirty_pages_log_range() (which is called by the callback) translates it to ram_addr, so it should work, no? Maybe change the range parameters from (0, phys_ram_size) to (0, ~0UL)?


--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to