summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorTakuya Yoshikawa2013-03-12 09:44:40 +0100
committerGleb Natapov2013-03-14 09:21:10 +0100
commit95b0430d1a53541076ffbaf453f8b49a547cceba (patch)
tree340dd5870cd20b6b2acef3182dabed47a7a72927 /arch/x86/include/asm
parentKVM: nVMX: Add preemption timer support (diff)
downloadkernel-qcow2-linux-95b0430d1a53541076ffbaf453f8b49a547cceba.tar.gz
kernel-qcow2-linux-95b0430d1a53541076ffbaf453f8b49a547cceba.tar.xz
kernel-qcow2-linux-95b0430d1a53541076ffbaf453f8b49a547cceba.zip
KVM: MMU: Mark sp mmio cached when creating mmio spte
This will be used not to zap unrelated mmu pages when creating/moving a memory slot later. Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index ef7f4a5cf8c7..9b75cae83d10 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -230,6 +230,7 @@ struct kvm_mmu_page {
#endif
int write_flooding_count;
+ bool mmio_cached;
};
struct kvm_pio_request {