Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80633
b: refs/heads/master
c: 2176486
h: refs/heads/master
i:
  80631: f24cb69
v: v3
  • Loading branch information
Ryan Harper authored and Avi Kivity committed Jan 30, 2008
1 parent 91a8d9b commit 0f4c0e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 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: 12b7d28fc102b772eb70f98491587ec5ee717baf
refs/heads/master: 217648638ccb62dfeea5ac5fe768539cdee61ed0
11 changes: 4 additions & 7 deletions trunk/drivers/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,14 +554,11 @@ void set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3)
inject_gp(vcpu);
return;
}
} else {
if (cr3 & CR3_NONPAE_RESERVED_BITS) {
printk(KERN_DEBUG
"set_cr3: #GP, reserved bits\n");
inject_gp(vcpu);
return;
}
}
/*
* We don't check reserved bits in nonpae mode, because
* this isn't enforced, and VMware depends on this.
*/
}

mutex_lock(&vcpu->kvm->lock);
Expand Down

0 comments on commit 0f4c0e6

Please sign in to comment.