From: Mulyadi Santosa <a_mulyadi@softhome.net>
To: qemu-devel@nongnu.org
Cc: Paul Jakma <paul@clubi.ie>
Subject: Re: [Qemu-devel] qemu becomes unresponsive sometimes
Date: Sun, 28 Nov 2004 17:18:04 +0700 [thread overview]
Message-ID: <200411281718.04223.a_mulyadi@softhome.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0411280453560.6275@sheen.jakma.org>
Hello Paul :-)
> In trying to debug this problem and try find vaguely wherein qemu the
> problem lies, I've observed that strace'ing the spinning qemu'ing
> will cause it to become responsive again.
First, let me ask for confirmation, do you run Qemu on Solaris or Linux host?
If this is on solaris, maybe my whole assumption would be useless
> I've actually taken to running my more important qemu instances with
> a backgrounded strace attached, with strace output directed to
> /dev/null.
Running strace on binary only change one thing: on every syscall, it will be
recorded as mentioned by ptrace behaviour. AFAIK, this recording will make
the traced binary (in this case Qemu binary) halt on each syscall invocation
and signal receive. (man strace and man ptrace). After that, the parent
process (the shell which fork Qemu) will continue the execution of Qemu
binary by sending signal
So, my suspicion, somehow Qemu is put into task_interruptible by host kernel
(Linux?) no matter how much is the load. But, it is possible that it is not
the whole Qemu that is unresponsive, maybe it is just the Qemu
monitor/display that is put into "sleep"
What do you think ? Fabrice any comment? Maybe we need to force waking up the
whole Qemu process (SDL output, monitor, VNC perhaps) everytime there is a
"CPU" activity inside the guest kernel?
regards
Mulyadi
next prev parent reply other threads:[~2004-11-28 10:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-11 12:48 [Qemu-devel] qemu becomes unresponsive sometimes Paul Jakma
2004-11-11 16:01 ` [Qemu-devel] Qemu network Nando
2004-11-28 4:59 ` [Qemu-devel] qemu becomes unresponsive sometimes Paul Jakma
2004-11-28 10:18 ` Mulyadi Santosa [this message]
2004-11-28 11:00 ` Paul Jakma
2004-11-28 13:58 ` [Qemu-devel] Block chaining question Shivkumar Shivaji
2004-11-30 22:40 ` Fabrice Bellard
2004-12-01 0:16 ` Shivkumar Shivaji
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=200411281718.04223.a_mulyadi@softhome.net \
--to=a_mulyadi@softhome.net \
--cc=paul@clubi.ie \
--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).