commit | d55e2cb20123cdb5020ec4a2b2f1eace5038c292 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Tue Jul 10 17:50:55 2007 +0300 |
committer | Avi Kivity <avi@qumranet.com> | Fri Jul 20 20:16:29 2007 +0300 |
tree | 6a02bb893638ded6448ee78687ee25072ea82360 | |
parent | 2cb7e714229681408e323852bed939989faf6991 [diff] |
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: Avi Kivity <avi@qumranet.com>