From: Xiao Guangrong Date: Thu, 22 Sep 2011 08:53:46 +0000 (+0800) Subject: KVM: x86: tag the instructions which are used to write page table X-Git-Tag: v3.3-rc1~131^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5ae7ce835cc89556dc18e2070e754f026402efa;p=pandora-kernel.git KVM: x86: tag the instructions which are used to write page table The idea is from Avi: | tag instructions that are typically used to modify the page tables, and | drop shadow if any other instruction is used. | The list would include, I'd guess, and, or, bts, btc, mov, xchg, cmpxchg, | and cmpxchg8b. This patch is used to tag the instructions and in the later path, shadow page is dropped if it is written by other instructions Signed-off-by: Xiao Guangrong Signed-off-by: Avi Kivity --- Reading git-diff-tree failed