Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297171
b: refs/heads/master
c: 9587190
h: refs/heads/master
i:
  297169: 1682e94
  297167: 7752508
v: v3
  • Loading branch information
Nadav Har'El authored and Avi Kivity committed Mar 8, 2012
1 parent 5f7af89 commit 8f89785
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: a223c313cb13e9ab71051fc5b70610a2829a4082
refs/heads/master: 9587190107d0c0cbaccbf7bf6b0245d29095a9ae
2 changes: 1 addition & 1 deletion trunk/arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1664,7 +1664,7 @@ static int nested_pf_handled(struct kvm_vcpu *vcpu)
struct vmcs12 *vmcs12 = get_vmcs12(vcpu);

/* TODO: also check PFEC_MATCH/MASK, not just EB.PF. */
if (!(vmcs12->exception_bitmap & PF_VECTOR))
if (!(vmcs12->exception_bitmap & (1u << PF_VECTOR)))
return 0;

nested_vmx_vmexit(vcpu);
Expand Down

0 comments on commit 8f89785

Please sign in to comment.