]> git.proxmox.com Git - mirror_qemu.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 18:21:12 +0000 (18:21 +0000)
commitcd1ba7de230b3a85fb4dba53bb681b7ea626b4eb
tree34322fda4fe9cf32e9e6db52485b2c69ee2e99b2
parentd1814e08c0409d9f352f9ea7fab377bcee1286b8
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