qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Uri Lublin <urilublin@yahoo.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] QEMU temporarily hangs
Date: Thu, 01 Mar 2007 13:35:41 -0000	[thread overview]
Message-ID: <399896.28101.qm@web32009.mail.mud.yahoo.com> (raw)

Hello,

Second attempt (with minor modifications), as the
first one did not arrive.

I would like to share with you a QEMU problem I've
encountered,
    and hope to get pointers where to look for it.
I am running CVS QEMU, x86_64-softmmu, with vmdk image
and redirected monitor
    (unix socket).

If the guest is busy and I rapidly send a LOT of
commands to QEMU monitor,
    then eventually QEMU temporarily hangs (vnc and
monitor are not responsive)
At that state:
 - QEMU process's cpu usage is around 100%
 - strace shows ONLY clock_gettime(CLOCK_MONOTONIC,
{time changing}) = 0
 - pstack shows:
      #0  0x0000003603e0459b in clock_gettime () from
/lib64/librt.so.1
      #1  0x0000000000405c9d in get_clock ()
      #2  0x0000000000405d65 in cpu_get_clock ()
      #3  0x000000000044f660 in pit_get_count ()
      #4  0x000000000044f805 in pit_latch_count ()
      #5  0x0000000002450ec8 in code_gen_buffer ()
      #6  0xbe26f6118053c79f in ?? ()
      #7  0x000000000047df6e in cpu_x86_exec ()
      #8  0x000000000040c11a in main_loop ()
      #9  0x000000000040da69 in main ()


After a while (few or more minutes), it comes back to
life.
I can shorten my waiting time by sending a SIGUSR2
signal to QEMU (SIGIO and SIGALRM work too).
Why doesn't host_alarm_handler() get called/bring QEMU
back to life ?

Any comment would be appreciated,
Thanks,
    Uri.


 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097

                 reply	other threads:[~2007-03-01 13:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=399896.28101.qm@web32009.mail.mud.yahoo.com \
    --to=urilublin@yahoo.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).