From: Avi Kivity Date: Sun, 6 Jun 2010 12:46:44 +0000 (+0300) Subject: KVM: MMU: Don't drop accessed bit while updating an spte X-Git-Tag: v2.6.36-rc1~580^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b79b93f92cb3b66b89d75525fdfd2454b1e1f446;p=pandora-kernel.git KVM: MMU: Don't drop accessed bit while updating an spte __set_spte() will happily replace an spte with the accessed bit set with one that has the accessed bit clear. Add a helper update_spte() which checks for this condition and updates the page flag if needed. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed