]> git.proxmox.com Git - qemu.git/commit
xen-mapcache: don't unmap locked entry during mapcache invalidation
authorJulien Grall <julien.grall@citrix.com>
Fri, 13 Apr 2012 17:33:02 +0000 (17:33 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 13 Apr 2012 17:35:06 +0000 (17:35 +0000)
commit852a7cec90f12516eb335bb29ed1398c2f0b7c2c
treeed7d924bbea5d8d5e8eec78fa039141f56fcc971
parent09ab48ee6c7ec082f56f85e234b066ed4fd874e2
xen-mapcache: don't unmap locked entry during mapcache invalidation

When an IOREQ_TYPE_INVALIDATE is sent to QEMU, it invalidates all entry
of the map cache even if it's locked.

QEMU is not able to know that entry was invalidated, so when an IO
access is requested a segfault occured.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-mapcache.c