[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Sometimes qem-kvm hang at kvm_put_vcpu_events when virs
Re: [Qemu-devel] Sometimes qem-kvm hang at kvm_put_vcpu_events when virsh restore. Both version 0.12.5 / 0.13.0
Wed, 15 Dec 2010 16:45:14 +0800
I have tried 1 vcpu and 2 vcpus, both sometimes restore fail.
----- Original Message -----
From: "Mulyadi Santosa" <address@hidden>
To: "changlimin" <address@hidden>
Sent: Wednesday, December 15, 2010 4:31 PM
Subject: Re: [Qemu-devel] Sometimes qem-kvm hang at kvm_put_vcpu_events when
virsh restore. Both version 0.12.5 / 0.13.0
On Wed, Dec 15, 2010 at 15:08, changlimin <address@hidden> 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
Freelance Linux trainer and consultant