From: Xiao Guangrong Date: Wed, 30 Jun 2010 08:03:28 +0000 (+0800) Subject: KVM: MMU: fix direct sp's access corrupted X-Git-Tag: v2.6.36-rc1~580^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e7b0e7fba45ca3c6357aeb7091ebc281f1de365;p=pandora-kernel.git KVM: MMU: fix direct sp's access corrupted If the mapping is writable but the dirty flag is not set, we will find the read-only direct sp and setup the mapping, then if the write #PF occur, we will mark this mapping writable in the read-only direct sp, now, other real read-only mapping will happily write it without #PF. It may hurt guest's COW Fixed by re-install the mapping when write #PF occur. Signed-off-by: Xiao Guangrong Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed