Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197832
b: refs/heads/master
c: 0d945bd
h: refs/heads/master
v: v3
  • Loading branch information
Joerg Roedel authored and Avi Kivity committed May 19, 2010
1 parent 9263fe7 commit 304773a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f0fd2927b737c0ac2e04af7858b60d1e927d4b1
refs/heads/master: 0d945bd9351199744c1e89d57a70615b6ee9f394
3 changes: 3 additions & 0 deletions trunk/arch/x86/kvm/svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2036,6 +2036,9 @@ static bool nested_svm_vmrun(struct vcpu_svm *svm)
svm->vmcb->control.intercept_cr_write &= ~INTERCEPT_CR8_MASK;
}

/* We don't want to see VMMCALLs from a nested guest */
svm->vmcb->control.intercept &= ~(1ULL << INTERCEPT_VMMCALL);

/*
* We don't want a nested guest to be more powerful than the guest, so
* all intercepts are ORed
Expand Down

0 comments on commit 304773a

Please sign in to comment.