From: Mulyadi Santosa <mulyadi.santosa@gmail.com>
To: changlimin <changlimin@h3c.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Sometimes qem-kvm hang at kvm_put_vcpu_events when virsh restore. Both version 0.12.5 / 0.13.0
Date: Wed, 15 Dec 2010 15:31:53 +0700 [thread overview]
Message-ID: <AANLkTikFBij8fDM5bFo4UCz-mjgeLWkcbdfP389yWrBw@mail.gmail.com> (raw)
In-Reply-To: <BB7521695A51434E91D88EF56A50DF62@c00148h>
On Wed, Dec 15, 2010 at 15:08, changlimin <changlimin@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
next prev parent reply other threads:[~2010-12-15 8:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-15 7:38 [Qemu-devel] Sometimes qem-kvm hang at kvm_put_vcpu_events when virsh restore. Both version 0.12.5 / 0.13.0 changlimin
2010-12-15 7:46 ` Mulyadi Santosa
2010-12-15 8:08 ` changlimin
2010-12-15 8:31 ` Mulyadi Santosa [this message]
2010-12-15 8:45 ` changlimin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTikFBij8fDM5bFo4UCz-mjgeLWkcbdfP389yWrBw@mail.gmail.com \
--to=mulyadi.santosa@gmail.com \
--cc=changlimin@h3c.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).