]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: mmu: Set SPTE_SPECIAL_MASK within mmu.c
authorJunaid Shahid <junaids@google.com>
Thu, 22 Dec 2016 04:29:29 +0000 (20:29 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 Jan 2017 14:46:39 +0000 (15:46 +0100)
commit70791a5748027368d555352aee9d8c41db3a9dca
treeb3da81c92416497ad410978534d2096dbe39dfe4
parent4efb13996454c3e8c74aefca2536e991c47558e5
kvm: x86: mmu: Set SPTE_SPECIAL_MASK within mmu.c

Instead of the caller including the SPTE_SPECIAL_MASK in the masks being
supplied to kvm_mmu_set_mmio_spte_mask() and kvm_mmu_set_mask_ptes(),
those functions now themselves include the SPTE_SPECIAL_MASK.

Note that bit 63 is now reset in the default MMIO mask.

Signed-off-by: Junaid Shahid <junaids@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c