Red Hat Bugzilla – Bug 525743
Regression between 2.6.29 and 2.6.30 causing qemu.git KVM support to break
Last modified: 2009-10-30 13:58:54 EDT
Description of problem:
Upstream qemu git worked with 2.6.29.x Fedora kernel. With new 188.8.131.52-43.fc11
qemu --enable-kvm -loadvm don't work anymore.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot a guest with qemu-system-x86_64 --enable-kvm .... rest args...
2. in the qemu monitor type: savevm foo
3. Now try to load the snapshot: qemu-system-x86 --enable-kvm -loadvm foo ... rest arguments
guest machine loads correctly, but just after load it resets the guest and it restarts.
Execution continues from saved state
upstream qemu.git without --enable-kvm still works (it don't use kvm)
qemu-kvm from F11 updates work
upsntream qemu-kvm.git also work
I am trying to bisect between 2.6.29 and 2.6.30 what commit caused the breakage
Reverting this commit from upstream fixes the issue. Commit was already reverted
in kvm upstream git.
Revert "KVM: x86: check for cr3 validity in ioctl_set_sregs"
This reverts commit d42a5ebb5ecc66aa692a1141c7ba284ec612e9cc.
Interesting... 184.108.40.206 got the more robust check in mmu_alloc_roots (commit 8986ecc0ef58c96eec48d8502c048f3ab67fd8e2) mentioned in the revert patch but did not get that revert (commit dc7e795e3dd2a763e5ceaa1615f307e808cf3932).
This patch didn't get into 220.127.116.11 either, so is needed for f-12 as well.
Fixed in 18.104.22.168-69
Revert patch already in -stable queue for .30/.31.
kernel-22.214.171.124-90.fc11 has been submitted as an update for Fedora 11.
kernel-126.96.36.199-90.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.