From: Xiao Guangrong Date: Thu, 22 Sep 2011 08:57:55 +0000 (+0800) Subject: KVM: MMU: fix detecting misaligned accessed X-Git-Tag: v3.3-rc1~131^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d9ca30e96f567b67a36727aa4ebb34911a2b84a;p=pandora-kernel.git KVM: MMU: fix detecting misaligned accessed Sometimes, we only modify the last one byte of a pte to update status bit, for example, clear_bit is used to clear r/w bit in linux kernel and 'andb' instruction is used in this function, in this case, kvm_mmu_pte_write will treat it as misaligned access, and the shadow page table is zapped Signed-off-by: Xiao Guangrong Signed-off-by: Avi Kivity --- Reading git-diff-tree failed