summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2008-06-12 16:54:41 +0300
committerAvi Kivity <avi@qumranet.com>2008-06-12 16:54:41 +0300
commitc1b11ebee6bda13878562b894ee811141dd06198 (patch)
treef98d184c068f2c845e7c8643230a394d2595b730 /include
parenta6f0945d852e2038051949563349b43f3a4298e3 (diff)
KVM: MMU: Fix oops on guest userspace access to guest pagetable
KVM has a heuristic to unshadow guest pagetables when userspace accesses them, on the assumption that most guests do not allow userspace to access pagetables directly. Unfortunately, in addition to unshadowing the pagetables, it also oopses. This never triggers on ordinary guests since sane OSes will clear the pagetables before assigning them to userspace, which will trigger the flood heuristic, unshadowing the pagetables before the first userspace access. One particular guest, though (Xenner) will run the kernel in userspace, triggering the oops. Since the heuristic is incorrect in this case, we can simply remove it. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions