From d55e2cb20123cdb5020ec4a2b2f1eace5038c292 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Tue, 10 Jul 2007 17:50:55 +0300 Subject: [PATCH] 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 --- Reading git-format-patch failed