Bug 25262
Summary: | Can't run qemu-kvm with recent kernels in PAE mode on AMD | ||
---|---|---|---|
Product: | Virtualization | Reporter: | Dan H (dan) |
Component: | kvm | Assignee: | Avi Kivity (avi) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | avi, dan, mtosatti |
Priority: | P1 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.36.2 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Dan H
2010-12-20 01:25:27 UTC
Doesn't reproduce on kvm.git next. 2.6.37-rc7 good, 2.6.36.2 bad Fix: commit f87f928882d080eaec8b0d76aecff003d664697d Author: Joerg Roedel <joerg.roedel@amd.com> Date: Thu Sep 2 17:29:45 2010 +0200 KVM: MMU: Fix 32 bit legacy paging with NPT This patch fixes 32 bit legacy paging with NPT enabled. The mmu_check_root call on the top-level of the loop causes root_gfn to take values (in the tdp_enabled path) which are outside of guest memory. So the mmu_check_root call fails at some point in the loop interation causing the guest to tiple-fault. This patch changes the mmu_check_root calls to the places where they are really necessary. As a side-effect it introduces a check for the root of a pae page table too. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Based on the changelog, this didn't seem to make it into 2.6.36.3. Any chance for 2.6.36.4? If not, how long until 2.6.37? I have confirmed that 2.6.37 fixes this issue. Thanks. |