diff options
-rw-r--r-- | arch/x86/kvm/mmu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 363004699012..88203fa4ef05 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c | |||
@@ -2240,7 +2240,8 @@ static int __direct_map(struct kvm_vcpu *vcpu, gpa_t v, int write, | |||
2240 | __set_spte(iterator.sptep, | 2240 | __set_spte(iterator.sptep, |
2241 | __pa(sp->spt) | 2241 | __pa(sp->spt) |
2242 | | PT_PRESENT_MASK | PT_WRITABLE_MASK | 2242 | | PT_PRESENT_MASK | PT_WRITABLE_MASK |
2243 | | shadow_user_mask | shadow_x_mask); | 2243 | | shadow_user_mask | shadow_x_mask |
2244 | | shadow_accessed_mask); | ||
2244 | } | 2245 | } |
2245 | } | 2246 | } |
2246 | return pt_write; | 2247 | return pt_write; |