]> xenbits.xensource.com Git - qemu-upstream-4.2-testing.git/commit
xen mapcache: check if memory region has moved.
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 18 Jan 2012 12:21:38 +0000 (12:21 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 19 Mar 2012 19:03:22 +0000 (19:03 +0000)
commit71c854db03ff7b6f837fc69b6e5c56783ca9e2b9
treebc460837849e519e0b83a587aa4e1a027572c969
parent2fc024d0746bddec0d5af4a2ea05cece613c817c
xen mapcache: check if memory region has moved.

This patch changes the xen_map_cache behavior. Before trying to map a guest
addr, mapcache will look into the list of range of address that have been moved
(physmap/set_memory). There is currently one memory space like this, the vram,
"moved" from were it's allocated to were the guest will look into.

This help to have a succefull migration.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-all.c
xen-mapcache.c
xen-mapcache.h