qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: changlimin <changlimin@h3c.com>
To: Mulyadi Santosa <mulyadi.santosa@gmail.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 16:45:14 +0800	[thread overview]
Message-ID: <99964DAE2E034CA48DC1F3A99A380413@c00148h> (raw)
In-Reply-To: AANLkTikFBij8fDM5bFo4UCz-mjgeLWkcbdfP389yWrBw@mail.gmail.com

I have tried 1 vcpu and 2 vcpus, both sometimes restore fail.



----- Original Message ----- 
From: "Mulyadi Santosa" <mulyadi.santosa@gmail.com>
To: "changlimin" <changlimin@h3c.com>
Cc: <qemu-devel@nongnu.org>
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 <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

      reply	other threads:[~2010-12-15  8:45 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
2010-12-15  8:45       ` changlimin [this message]

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=99964DAE2E034CA48DC1F3A99A380413@c00148h \
    --to=changlimin@h3c.com \
    --cc=mulyadi.santosa@gmail.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).