Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215807
b: refs/heads/master
c: 678041a
h: refs/heads/master
i:
  215805: 7d36540
  215803: ca020bf
  215799: b08a099
  215791: 36af777
  215775: 4dadaa2
  215743: 9b782c4
  215679: 54b6497
  215551: ffc880f
v: v3
  • Loading branch information
Marcelo Tosatti authored and Avi Kivity committed Oct 24, 2010
1 parent f8b017a commit 499f630
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: c41a15dd4632499b9c1a00871e160276999767d9
refs/heads/master: 678041ad9dc82eedc598f709e8a3d620139d4105
4 changes: 2 additions & 2 deletions trunk/arch/x86/kvm/svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,8 +827,8 @@ static void init_vmcb(struct vcpu_svm *svm)
* This is the guest-visible cr0 value.
* svm_set_cr0() sets PG and WP and clears NW and CD on save->cr0.
*/
svm->vcpu.arch.cr0 = X86_CR0_NW | X86_CR0_CD | X86_CR0_ET;
(void)kvm_set_cr0(&svm->vcpu, svm->vcpu.arch.cr0);
svm->vcpu.arch.cr0 = 0;
(void)kvm_set_cr0(&svm->vcpu, X86_CR0_NW | X86_CR0_CD | X86_CR0_ET);

save->cr4 = X86_CR4_PAE;
/* rdx = ?? */
Expand Down

0 comments on commit 499f630

Please sign in to comment.