Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62877
b: refs/heads/master
c: 4c981b4
h: refs/heads/master
i:
  62875: 1c0357b
v: v3
  • Loading branch information
Avi Kivity committed Jul 25, 2007
1 parent 7ce0340 commit fd1bcff
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: 7cfa4b0a43286b1da3afa4f5f99d52e65a8f30fc
refs/heads/master: 4c981b43d7ec18818754bf85b829865abd0ce340
4 changes: 2 additions & 2 deletions trunk/drivers/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2432,9 +2432,9 @@ static void cpuid_fix_nx_cap(struct kvm_vcpu *vcpu)
break;
}
}
if (entry && (entry->edx & EFER_NX) && !(efer & EFER_NX)) {
if (entry && (entry->edx & (1 << 20)) && !(efer & EFER_NX)) {
entry->edx &= ~(1 << 20);
printk(KERN_INFO ": guest NX capability removed\n");
printk(KERN_INFO "kvm: guest NX capability removed\n");
}
}

Expand Down

0 comments on commit fd1bcff

Please sign in to comment.