Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80809
b: refs/heads/master
c: 4bf8ed8
h: refs/heads/master
i:
  80807: d02315a
v: v3
  • Loading branch information
Marcelo Tosatti authored and Avi Kivity committed Jan 30, 2008
1 parent 2597373 commit 755653d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e4a533a416936753882060bf743222576713fde8
refs/heads/master: 4bf8ed8dd2781a5e7603a83f8ee1d4f5aa04ebc4
3 changes: 0 additions & 3 deletions trunk/drivers/kvm/paging_tmpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ static u64 *FNAME(fetch)(struct kvm_vcpu *vcpu, gva_t addr,
hpa_t shadow_addr;
int level;
u64 *shadow_ent;
u64 *prev_shadow_ent = NULL;

if (!is_present_pte(walker->pte))
return NULL;
Expand All @@ -326,7 +325,6 @@ static u64 *FNAME(fetch)(struct kvm_vcpu *vcpu, gva_t addr,
if (level == PT_PAGE_TABLE_LEVEL)
break;
shadow_addr = *shadow_ent & PT64_BASE_ADDR_MASK;
prev_shadow_ent = shadow_ent;
continue;
}

Expand Down Expand Up @@ -355,7 +353,6 @@ static u64 *FNAME(fetch)(struct kvm_vcpu *vcpu, gva_t addr,
shadow_pte = shadow_addr | PT_PRESENT_MASK | PT_ACCESSED_MASK
| PT_WRITABLE_MASK | PT_USER_MASK;
*shadow_ent = shadow_pte;
prev_shadow_ent = shadow_ent;
}

FNAME(set_pte)(vcpu, walker->pte, shadow_ent,
Expand Down

0 comments on commit 755653d

Please sign in to comment.