diff options
-rw-r--r-- | arch/x86/kvm/paging_tmpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h index 6c9fed957cce..2ce4f05e81d3 100644 --- a/arch/x86/kvm/paging_tmpl.h +++ b/arch/x86/kvm/paging_tmpl.h | |||
@@ -249,7 +249,7 @@ static int FNAME(update_accessed_dirty_bits)(struct kvm_vcpu *vcpu, | |||
249 | return ret; | 249 | return ret; |
250 | 250 | ||
251 | kvm_vcpu_mark_page_dirty(vcpu, table_gfn); | 251 | kvm_vcpu_mark_page_dirty(vcpu, table_gfn); |
252 | walker->ptes[level] = pte; | 252 | walker->ptes[level - 1] = pte; |
253 | } | 253 | } |
254 | return 0; | 254 | return 0; |
255 | } | 255 | } |