[PATCH] KVM: MMU: Report nx faults to the guest
authorAvi Kivity <avi@qumranet.com>
Fri, 26 Jan 2007 08:56:41 +0000 (00:56 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 26 Jan 2007 21:50:57 +0000 (13:50 -0800)
commit73b1087e6176a34c01eea3db269848f72fad72c1
tree05e74fb28c1980e8327587934f2a0fe2a3c0d683
parent7993ba43db1c07245ada067791f91dbf018095ac
[PATCH] KVM: MMU: Report nx faults to the guest

With the recent guest page fault change, we perform access checks on our
own instead of relying on the cpu.  This means we have to perform the nx
checks as well.

Software like the google toolbar on windows appears to rely on this
somehow.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/kvm/mmu.c
drivers/kvm/paging_tmpl.h