Comment 14 for bug 221032

Revision history for this message
Soren Hansen (soren) wrote :

Correction:

SRU justification:

Impact: Guests hang during boot if they're using lvm and smp.
Fix description: Mark pages as write protected *before* they're prefetched, so that the host can handle page faults in the guest.
Patch: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commit;h=a7c28c405ae69a9493b04d3b6209c0bd06472afb

TEST CASE: Boot a hardy guest that uses root on lvm (create it with the guided lvm partitioning in the installer, if you don't already have one) like so:

    kvm -smp 8 -drive file=/path/to/your/disk.img,boot=on -m 256

Depending on your host hardware, this will hang anywhere between 10% and 99.9% of the time without the patch applied. With the patch applied, the problem should go away completely.