Re: [Qemu-devel] [PATCH 2/5] xen mapcache: Check if a memory space has moved.

2011-11-24 Thread Stefano Stabellini
On Thu, 24 Nov 2011, Anthony PERARD wrote: > diff --git a/xen-mapcache.c b/xen-mapcache.c > index 7bcb86e..73927ab 100644 > --- a/xen-mapcache.c > +++ b/xen-mapcache.c > @@ -191,10 +191,14 @@ uint8_t *xen_map_cache(target_phys_addr_t phys_addr, > target_phys_addr_t size, >

Re: [Qemu-devel] [PATCH 2/5] xen mapcache: Check if a memory space has moved.

2011-11-24 Thread Stefano Stabellini
On Thu, 24 Nov 2011, Anthony PERARD wrote: > This patch change 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" fro

[Qemu-devel] [PATCH 2/5] xen mapcache: Check if a memory space has moved.

2011-11-24 Thread Anthony PERARD
This patch change 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