Skip to content
Snippets Groups Projects
Commit d55e2cb2 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: MMU: Store nx bit for large page shadows


We need to distinguish between large page shadows which have the nx bit set
and those which don't.  The problem shows up when booting a newer smp Linux
kernel, where the trampoline page (which is in real mode, which uses the
same shadow pages as large pages) is using the same mapping as a kernel data
page, which is mapped using nx, causing kvm to spin on that page.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 2cb7e714
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment