From: Nuri Eady <eady@wisc.edu>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Detecting a kernel stack change
Date: Fri, 04 May 2007 23:52:08 -0500 [thread overview]
Message-ID: <463C0D78.8080303@wisc.edu> (raw)
In-Reply-To: <BAY118-F38A8F3FB0F612B8C6D1623CB470@phx.gbl>
I'd like to detect when the kernel stack changes and it seems to me that
might be possible by looking at when the tss structure is accessed and
the esp element is changed. Linux uses a command something like the
following to update the esp in the tss during a task switch...
init_tss[smp_processor_id( )].esp0 = next->thread.esp0;
Is it possible to detect when this happens in qemu? Maybe in the
protected_interrupt helper function?
Thanks,
Nuri
prev parent reply other threads:[~2007-05-05 4:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-04 5:42 [Qemu-devel] why "-hda myimgfile" can not work ?? tang peilei
2007-05-04 6:30 ` Christian MICHON
2007-05-04 7:07 ` tang peilei
2007-05-04 10:20 ` Christian MICHON
2007-05-04 13:13 ` Paul Brook
2007-05-04 13:28 ` tang peilei
2007-05-04 14:01 ` Sunil Amitkumar Janki
2007-05-04 14:29 ` tang peilei
2007-05-04 15:10 ` Sunil Amitkumar Janki
2007-05-05 4:01 ` tang peilei
2007-05-05 4:52 ` Nuri Eady [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=463C0D78.8080303@wisc.edu \
--to=eady@wisc.edu \
--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).