]> xenbits.xensource.com Git - qemu-upstream-4.2-testing.git/commit
exec, memory: Call to xen_modified_memory.
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 21 Feb 2013 12:16:42 +0000 (12:16 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 21 Feb 2013 12:16:42 +0000 (12:16 +0000)
commit68363d1c1a0bd0cebb8910fad60772b00b4d3c95
tree5c2a5c34fb287266283d0a1848887420b59b3fac
parent3271ea7363a165c7248d06e5706c84b3d04e76b2
exec, memory: Call to xen_modified_memory.

This patch add some calls to xen_modified_memory to notify Xen about dirtybits
during migration.

Backport of e226939de5814527a21396903b08c3d0ed989558

Note a call to xen_modify_memory has been added to qemu_ram_alloc_from_ptr
as the upstream version does:
  cpu_physical_memory_set_dirty_range(new_block->offset, size, 0xff);
and this function does not exist in 4.2.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Alex Bligh <alex@alex.org.uk>
exec.c
memory.c