diff options
author | Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> | 2013-03-12 04:44:40 -0400 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2013-03-14 04:21:10 -0400 |
commit | 95b0430d1a53541076ffbaf453f8b49a547cceba (patch) | |
tree | 340dd5870cd20b6b2acef3182dabed47a7a72927 /arch/x86/include | |
parent | 0238ea913c21a89387f93097acfbdfeebc9c9257 (diff) |
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')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 1 |
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 { | |||
230 | #endif | 230 | #endif |
231 | 231 | ||
232 | int write_flooding_count; | 232 | int write_flooding_count; |
233 | bool mmio_cached; | ||
233 | }; | 234 | }; |
234 | 235 | ||
235 | struct kvm_pio_request { | 236 | struct kvm_pio_request { |