On Wed, Dec 15, 2010 at 15:08, changlimin <changli...@h3c.com> wrote: > 1. I create a guest use libvirt; > 2. I start the guest use: virsh start guest; > 3. I save the guest to a file, use: virsh save guest guest.save > 4. I retore the guest, use : virsh retore guest.save > Sometimes, the guest restore successful. sometimes restore fail. > I debug the code, the qemu-kvm hang at kvm_put_vcpu_events, the process > state is D, uninterruptable sleep. Only can killed by kill -9. > I print the events when kvm_put_vcpu_events / kvm_get_vcpu_events, it is > always different, event when restore successful
I could only say, i smell deadlock due to race condition here...but I have no further prove...how many (virtual) CPU did you simulate at that time? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com