Re: [Qemu-devel] Fix invalidate if memory requested was not bucket aligned

2012-08-07 Thread Stefano Stabellini
On Tue, 7 Aug 2012, Frediano Ziglio wrote: When memory is mapped in qemu_map_cache with lock != 0 a reverse mapping is created pointing to the virtual address of location requested. The cached mapped entry is saved in last_address_vaddr with the memory location of the base virtual address

[Qemu-devel] Fix invalidate if memory requested was not bucket aligned

2012-08-07 Thread Frediano Ziglio
When memory is mapped in qemu_map_cache with lock != 0 a reverse mapping is created pointing to the virtual address of location requested. The cached mapped entry is saved in last_address_vaddr with the memory location of the base virtual address (without bucket offset). However when this entry