diff options
-rw-r--r-- | drivers/kvm/paging_tmpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/paging_tmpl.h b/drivers/kvm/paging_tmpl.h index 6dd0da9a5d15..183d4ca9b315 100644 --- a/drivers/kvm/paging_tmpl.h +++ b/drivers/kvm/paging_tmpl.h | |||
@@ -213,7 +213,7 @@ static void FNAME(update_pte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *page, | |||
213 | if (~gpte & (PT_PRESENT_MASK | PT_ACCESSED_MASK)) | 213 | if (~gpte & (PT_PRESENT_MASK | PT_ACCESSED_MASK)) |
214 | return; | 214 | return; |
215 | pgprintk("%s: gpte %llx spte %p\n", __FUNCTION__, (u64)gpte, spte); | 215 | pgprintk("%s: gpte %llx spte %p\n", __FUNCTION__, (u64)gpte, spte); |
216 | FNAME(set_pte)(vcpu, gpte, spte, 6, | 216 | FNAME(set_pte)(vcpu, gpte, spte, PT_USER_MASK | PT_WRITABLE_MASK, |
217 | (gpte & PT_BASE_ADDR_MASK) >> PAGE_SHIFT); | 217 | (gpte & PT_BASE_ADDR_MASK) >> PAGE_SHIFT); |
218 | } | 218 | } |
219 | 219 | ||