]> xenbits.xensource.com Git - qemu-upstream-4.2-testing.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>
Tue, 17 Apr 2012 10:12:53 +0000 (10:12 +0000)
commita74b7770924e3825e2d64b85fbf2f927419e513f
tree9b3b61e5b22383380495cc438a0f049501f471c5
parent0ec445db3137e501e758a50d64e9c2b39d23a6b6
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