]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: Avoid dropping accessed bit while removing write access
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Sun, 5 Dec 2010 16:11:33 +0000 (01:11 +0900)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:30:21 +0000 (11:30 +0200)
commitb3f4f28e5e3273c7335b7ec242b421bef358172c
treebf9f5aeeb8724f71f53e083267118df1b275163f
parent4318d2dc0f4a69181cc812e8e7509e4c83516958
KVM: MMU: Avoid dropping accessed bit while removing write access

One more "KVM: MMU: Don't drop accessed bit while updating an spte."

Sptes are accessed by both kvm and hardware.
This patch uses update_spte() to fix the way of removing write access.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c