Re: [Qemu-devel] [PATCH 10/22] ram_addr: tweaks to xen_modified_memory

2015-03-28 Thread Stefano Stabellini
On Thu, 26 Mar 2015, Paolo Bonzini wrote: > Invoke xen_modified_memory from cpu_physical_memory_set_dirty_range_nocode; > it is akin to DIRTY_MEMORY_MIGRATION, so set it together with that bitmap. > The remaining call from invalidate_and_set_dirty's "else" branch will go > away soon. > > Second, f

[Qemu-devel] [PATCH 10/22] ram_addr: tweaks to xen_modified_memory

2015-03-26 Thread Paolo Bonzini
Invoke xen_modified_memory from cpu_physical_memory_set_dirty_range_nocode; it is akin to DIRTY_MEMORY_MIGRATION, so set it together with that bitmap. The remaining call from invalidate_and_set_dirty's "else" branch will go away soon. Second, fix the second argument to the function in the cpu_phys